From 4ff59679939f9a965a54e5ac96f7105d5773a4de Mon Sep 17 00:00:00 2001 From: HluthWigg Date: Sat, 18 Feb 2023 22:13:09 +0100 Subject: [PATCH] Delete nginx-garradin.conf --- config/nginx-garradin.conf | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 config/nginx-garradin.conf diff --git a/config/nginx-garradin.conf b/config/nginx-garradin.conf deleted file mode 100644 index 50e53f7..0000000 --- a/config/nginx-garradin.conf +++ /dev/null @@ -1,35 +0,0 @@ -server { - listen [::]:80 default_server; # port 80 is the usual HTTP port - listen 80 default_server; - server_name _; # no domain name (local) - - sendfile off; - - root /var/www/garradin/www; # root of the website - - location / { - # First attempt to serve request as file, then - # as directory, then fall back to index.php - try_files $uri $uri/ /_route.php?$query_string; - index index.php /_route.php; - } - - - location ~ \.php { - try_files $uri $uri/ /_route.php?$query_string; - include fastcgi.conf; - #fastcgi_pass 127.0.0.1:9000; # Si vous utilisez PHP-FPM (ou autre) en mode TCP et non sur une socket - fastcgi_pass unix:/run/garradin.sock; # Si vous utilisez PHP-FPM en mode socket - } - - location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ { - expires 5d; - } - - # deny access to . files, for security - location ~ /\. { - log_not_found off; - deny all; - } -} -