updated nginx state
This commit is contained in:
parent
d0eb00f5c3
commit
b7ca8cf3a7
@ -46,6 +46,8 @@ nginx-sites-available-{{ key }}:
|
|||||||
- require:
|
- require:
|
||||||
- file: nginx-config-dir-sites-available
|
- file: nginx-config-dir-sites-available
|
||||||
- file: nginx-config-dir-sites-enabled
|
- file: nginx-config-dir-sites-enabled
|
||||||
|
- watch_in:
|
||||||
|
- service: nginx-service
|
||||||
- context:
|
- context:
|
||||||
vhost_name: {{ vhost.name }}
|
vhost_name: {{ vhost.name }}
|
||||||
https: {{ vhost.https|default(true) }}
|
https: {{ vhost.https|default(true) }}
|
||||||
|
@ -11,7 +11,7 @@ server {
|
|||||||
server_name {{ vhost_name }};
|
server_name {{ vhost_name }};
|
||||||
root {{ root_dir }};
|
root {{ root_dir }};
|
||||||
|
|
||||||
index index.php
|
index index.php;
|
||||||
error_page 403 /core/templates/403.php;
|
error_page 403 /core/templates/403.php;
|
||||||
error_page 404 /core/templates/404.php;
|
error_page 404 /core/templates/404.php;
|
||||||
rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
|
rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
|
||||||
|
Loading…
Reference in New Issue
Block a user