mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-30 03:37:22 +07:00
New feature: provide location order (#24 related)
This commit is contained in:
1 parent
de71e1bdcc
commit
5b0977567c
4 files changed
+18
-4
No files matched your search
@@ -155,6 +155,17 @@
|
||||
location:
|
||||
'/':
|
||||
- 'alias /var/tmp;'
|
||||
'/a':
|
||||
- 'alias /var/tmp;'
|
||||
'/b':
|
||||
- 'alias /var/tmp;'
|
||||
'/c':
|
||||
- 'alias /var/tmp;'
|
||||
location_order:
|
||||
- '/'
|
||||
- '/a'
|
||||
- '/b'
|
||||
- '/c'
|
||||
- name: 'test-php.local'
|
||||
php_version: "{{ '7.0' if nginx_php70 else '5.6' }}"
|
||||
upstream_params:
|
||||
|
||||
Reference in new issue
Block a user