Fix try_files directive in nginx config
This commit is contained in:
parent
64eb208d73
commit
9a08511980
|
@ -65,7 +65,7 @@ echo "server {
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php$is_args$args;
|
try_files \$uri \$uri/ /index.php\$is_args\$args;
|
||||||
}
|
}
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
fastcgi_pass unix:/run/php/php$PHP_VER-fpm_$domain.sock;
|
fastcgi_pass unix:/run/php/php$PHP_VER-fpm_$domain.sock;
|
||||||
|
|
Loading…
Reference in New Issue