|
@@ -133,6 +133,13 @@ http {
|
|
|
location /fm/ {
|
|
location /fm/ {
|
|
|
alias /usr/local/hestia/web/fm/dist/;
|
|
alias /usr/local/hestia/web/fm/dist/;
|
|
|
index index.php;
|
|
index index.php;
|
|
|
|
|
+ location ~ /([^/]+\.php)$ {
|
|
|
|
|
+ try_files /$1 =404;
|
|
|
|
|
+ fastcgi_pass unix:/var/run/hestia-php.sock;
|
|
|
|
|
+ fastcgi_index index.php;
|
|
|
|
|
+ include fastcgi_params;
|
|
|
|
|
+ fastcgi_param SCRIPT_FILENAME /usr/local/hestia/web/fm/dist/index.php;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
location ~ \.php$ {
|