change spaces to tabs

This commit is contained in:
slawkens 2023-02-02 21:21:05 +01:00
parent d4650afa0e
commit 295c5de0d6

View File

@ -1,28 +1,28 @@
server { server {
listen 80; listen 80;
root /home/otserv/www/public; root /home/otserv/www/public;
index index.php; index index.php;
server_name your-domain.com; server_name your-domain.com;
# increase max file upload # increase max file upload
client_max_body_size 10M; client_max_body_size 10M;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ { location / {
include snippets/fastcgi-php.conf; try_files $uri $uri/ /index.php;
fastcgi_read_timeout 240; }
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
location ~ /\.ht { location ~ \.php$ {
deny all; include snippets/fastcgi-php.conf;
} fastcgi_read_timeout 240;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
}
location /system { location ~ /\.ht {
deny all; deny all;
return 404; }
}
location /system {
deny all;
return 404;
}
} }