mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Fix more params and add upstream params
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
- 'test2-alias.local'
|
||||
template: '_base'
|
||||
more:
|
||||
- 'etag off;'
|
||||
- 'autoindex off;'
|
||||
location:
|
||||
'/test':
|
||||
- 'return 403;'
|
||||
@@ -23,6 +23,8 @@
|
||||
- 'return 404;'
|
||||
- name:
|
||||
- 'test-php.local'
|
||||
upstream_params:
|
||||
- 'fastcgi_param FOO bar;'
|
||||
redirect_from:
|
||||
- 'www.test-php.local'
|
||||
template: '_php'
|
||||
|
||||
Reference in New Issue
Block a user