X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fnginx_gestion_common.j2;fp=templates%2Fnginx_gestion_common.j2;h=0000000000000000000000000000000000000000;hb=d2ef9c4c99e81dc58f3d4346c362eae2c4d7915b;hp=03bb00c69325c088ffc11bfa474a28f496b3bc45;hpb=058c0e0c1ce6fc1fb225fceb18cc8898f9a2a063;p=lhc%2Fansible.git diff --git a/templates/nginx_gestion_common.j2 b/templates/nginx_gestion_common.j2 deleted file mode 100644 index 03bb00c..0000000 --- a/templates/nginx_gestion_common.j2 +++ /dev/null @@ -1,16 +0,0 @@ -server_name {{ SITE }}.{{ DOMAIN }}.{{ TLD }}; -root /home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/www; - -location / { - try_files $uri $uri/ /_route.php?$query_string; - index index.php /_route.php; -} - -location ~ \.php { - try_files $uri $uri/ /_route.php?$query_string; - include /etc/nginx/conf.d/fastcgi.conf; - 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