|
|
@@ -34,21 +34,6 @@ server {
|
|
|
deny all;
|
|
|
return 404;
|
|
|
}
|
|
|
-
|
|
|
- # Craft-specific location handlers to ensure AdminCP requests route through index.php
|
|
|
- # If you change your `cpTrigger`, change it here as well
|
|
|
- location ^~ /admin {
|
|
|
- try_files $uri $uri/ @phpfpm_nocache;
|
|
|
- }
|
|
|
- location ^~ /index.php/admin {
|
|
|
- try_files $uri $uri/ @phpfpm_nocache;
|
|
|
- }
|
|
|
- location ^~ /cpresources {
|
|
|
- try_files $uri $uri/ /index.php?$query_string;
|
|
|
- }
|
|
|
- location ^~ /actions {
|
|
|
- try_files $uri $uri/ /index.php?$query_string;
|
|
|
- }
|
|
|
|
|
|
location / {
|
|
|
try_files $uri $uri/ /index.php?$args;
|
|
|
@@ -63,7 +48,6 @@ server {
|
|
|
fastcgi_pass %backend_lsnr%;
|
|
|
fastcgi_index index.php;
|
|
|
include /etc/nginx/fastcgi_params;
|
|
|
- include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;
|
|
|
}
|
|
|
}
|
|
|
|