mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
New feature: custom location in vhost
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
- 'test-alias.local'
|
||||
- 'test2-alias.local'
|
||||
template: '_base'
|
||||
location:
|
||||
'/test':
|
||||
- 'return 403;'
|
||||
'/gunther':
|
||||
- 'return 404;'
|
||||
- name:
|
||||
- 'test-php.local'
|
||||
redirect_from:
|
||||
|
||||
Reference in New Issue
Block a user