nginx
nginx copied to clipboard
ansible role nginx
!!! BREAKING CHANGE Locations and try_files are made into an array. Configuration files will need to be adjusted. ``` locations: - name: / try_files: - $uri - $uri/ - /index.html...
Refer to the docs: http://nginx.org/en/docs/http/ngx_http_upstream_module.html Use cases: - When using Nginx to resolve virtual hosts to different ports/servers/upstreams. - When using Nginx as a reverse-proxy to handle caching and other...
There is not currently a way to define [the "everything else" case](http://nginx.org/en/docs/http/converting_rewrite_rules.html) to do a 301 redirect. ``` nginx.conf server { listen 80 default_server; server_name _; return 301 http://example.com$request_uri; }...
Hi Could you please add cache valid time to your apt tasks. Especially when developing playbooks it is very time consuming wait for slow repos updating. Perhaps you could make...
In your docs, check out the example under 4) Install Nginx and add 2 sites (different method) -> the indentation around `nginx_sites` is messed up New-to-ansible users will get confused...