dépôts
/
lhc
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction de la conf certbot
[lhc/ansible.git]
/
templates
/
nginx_paheko_common.j2
diff --git
a/templates/nginx_paheko_common.j2
b/templates/nginx_paheko_common.j2
index
02eb52d
..
03bb00c
100644
(file)
--- a/
templates/nginx_paheko_common.j2
+++ b/
templates/nginx_paheko_common.j2
@@
-1,5
+1,5
@@
server_name {{ SITE }}.{{ DOMAIN }}.{{ TLD }};
server_name {{ SITE }}.{{ DOMAIN }}.{{ TLD }};
-root /home/
www
/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/www;
+root /home/
sites
/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/www;
location / {
try_files $uri $uri/ /_route.php?$query_string;
location / {
try_files $uri $uri/ /_route.php?$query_string;
@@
-12,6
+12,5
@@
location ~ \.php {
fastcgi_index index.php ;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php ;
fastcgi_param REDIRECT_STATUS 200;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
-
fastcgi_pass unix:/run/php{{ php_version}}/fpm/php_{{ SIGLE }}_{{ SITE }};
}
\ No newline at end of file
fastcgi_pass unix:/run/php{{ php_version}}/fpm/php_{{ SIGLE }}_{{ SITE }};
}
\ No newline at end of file