From 295c5de0d68af8f5061f87302187a5df2c77c057 Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 2 Feb 2023 21:21:05 +0100 Subject: [PATCH] change spaces to tabs --- nginx-sample.conf | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/nginx-sample.conf b/nginx-sample.conf index 80b4744c..051811ef 100644 --- a/nginx-sample.conf +++ b/nginx-sample.conf @@ -1,28 +1,28 @@ server { - listen 80; - root /home/otserv/www/public; - index index.php; - server_name your-domain.com; + listen 80; + root /home/otserv/www/public; + index index.php; + server_name your-domain.com; - # increase max file upload - client_max_body_size 10M; - - location / { - try_files $uri $uri/ /index.php; - } + # increase max file upload + client_max_body_size 10M; - location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_read_timeout 240; - fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; - } + location / { + try_files $uri $uri/ /index.php; + } - location ~ /\.ht { - deny all; - } + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_read_timeout 240; + fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; + } - location /system { - deny all; - return 404; - } + location ~ /\.ht { + deny all; + } + + location /system { + deny all; + return 404; + } }