ansible-role-nginx-config
ansible-role-nginx-config copied to clipboard
Ansible role for configuring NGINX
how would I insert [an `if` statement](https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#if) such as: ``` if ($request_method = POST) { return 405; } ``` in the `server` stanza? Thanks!
### Describe the bug A clear and concise description of what the bug is. Deploy template fails with ``no test named 'boolean'`` ```yml TASK [nginxinc.nginx_core.nginx_config : Dynamically generate NGINX HTTP...
**Is your feature request related to a problem? Please describe.** Kind of. I wish to terminate ssl with nginx, and simultaneously apply it as reverse proxy. I do not see...
Documentation - example or discussion forum for proxy with straight ssl passthrough (maybe stream)
### Is your feature request related to a problem? Please describe A clear and concise description of what the problem is. Ex. I'm always frustrated when ... I've been running...
Explicitly specify http_version as string, because otherwise it's a number and ignored ### Proposed changes Describe the use case and detail of the change. If this PR addresses an issue...
This works, I've tested, resulting config will be ``` server { listen 443 ssl http2; } ``` with `http2: true` ### Proposed changes Describe the use case and detail of...
### Proposed changes Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using...
### Describe the bug In the http/modules.j2 template, the `realip` macro assumes that `set_real_ip_from` can only ever be a single value. In reality, `set_real_ip_from` can (and likely often is) be...
### Is your feature request related to a problem? Please describe I have a problem with configuration by validation ### Describe the solution you'd like If my configuration is invalid...
### Is your feature request related to a problem? Please describe We use the stream module for reverse proxy ssl connection, so we need something like this: ` stream {...