correction de la conf certbot
[lhc/ansible.git] / templates / nginx_paheko_common.j2
index 02eb52d..03bb00c 100644 (file)
@@ -1,5 +1,5 @@
 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;
@@ -12,6 +12,5 @@ location ~ \.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