mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
New feature: provide location order (#24 related)
This commit is contained in:
@@ -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