Skip to content

nginx.conf http block #557

Answered by alessfg
nowost asked this question in General
Discussion options

You must be logged in to vote

You want to look into these parameters here https://github.com/nginx/ansible-role-nginx-config/blob/main/defaults/main/template.yml#L83-L84. If you want some "real" examples that work (as they are part of the CI pipeline) check out something like https://github.com/nginx/ansible-role-nginx-config/blob/main/molecule/default/converge.yml#L32 to see how to set up a web server.

The documentation is a tad bit confusing (it's my main TODO with regards to this role) but hopefully those two links get you on the right path.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nowost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #538 on May 05, 2025 21:53.