|
|
@@ -9,21 +9,6 @@ server {
|
|
|
|
|
|
include %home%/%user%/conf/web/%domain%/nginx.forcessl.conf*;
|
|
|
|
|
|
- # 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?$query_string;
|
|
|
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js|webp)$ {
|