16 lines
386 B
Nginx Configuration File
16 lines
386 B
Nginx Configuration File
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ ^/(index|manage|install)\.php$ {
|
|
fastcgi_pass unix:/var/run/php/php-fpm.sock;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param HTTP_AUTHORIZATION $http_authorization;
|
|
include fastcgi_params;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
return 404;
|
|
}
|