mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
change spaces to tabs
This commit is contained in:
parent
d4650afa0e
commit
295c5de0d6
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user