ansible-nginx icon indicating copy to clipboard operation
ansible-nginx copied to clipboard

Install and configure nginx (SSL A+ by default) with Ansible.

Results 10 ansible-nginx issues
Sort by recently updated
recently updated
newest added

Hi! I'm using this role with ansible 2.9.6. The task "Forcefully restart nginx", generates this error: ``` fatal: [....]: FAILED! => { "msg": "The conditional check '(nginx_register_nginx_config | changed) and...

For my use case it will likely be convenient to be able to configure the directory where the SSL certificate/key is located (instead of hardcoding it to /etc/nginx/ssl). I have...

nginx_main_directives works the same as nginx_http_directives but is outside of http block (useful for including dynamically-loaded modules).

For each entry in `nginx_sites`, create a file at `/etc/nginx/conf.d/common_ssl_site..conf` containing its SSL configs, and include that in its main configuration files. This should fix upstream Issue #15. Also create...

This pull request aims to fix Issue #13: - the try_files directive falls back to the @upstream if it exists, otherwise to =404 (instead of both, which is invalid) -...

Got a site defined like this: ``` example.se: domains: ['example.se', 'www.example.se'] default_server: False upstreams: - name: 'example' servers: ['hostname_of_internal_server:80'] ``` When accessing it I end up with the default nginx-page...

I fixed the SSL variables, and added a few if-statements that'll only play with the site is defined as "only_upstream"

The server-segment in the config where the redirect from www.example.com to example.com is done does not contain any SSL-settings, leading nginx to totally freak out if you have multiple domains...

bug

This modification fixes a bug I just encountered with a very basic configuration of this role. Here are the properties of my system : - Role version : `v0.4.1` -...

bug

Hi Nick, Just thought I would introduce some Molecule tests as per [my article here](http://opsfactory.com.au/ansible-role-testing-with-molecule.html). Hopefully they're somewhat useful, although I figure more can be doe on the tests :)