File tree Expand file tree Collapse file tree 4 files changed +0
-60
lines changed
deb/templates/web/nginx/php-fpm
rhel/templates/web/nginx/php-fpm Expand file tree Collapse file tree 4 files changed +0
-60
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,6 @@ server {
3434 deny all;
3535 return 404;
3636 }
37-
38- # Craft-specific location handlers to ensure AdminCP requests route through index.php
39- # If you change your `cpTrigger`, change it here as well
40- location ^~ /admin {
41- try_files $uri $uri/ @phpfpm_nocache;
42- }
43- location ^~ /index.php/admin {
44- try_files $uri $uri/ @phpfpm_nocache;
45- }
46- location ^~ /cpresources {
47- try_files $uri $uri/ /index.php?$query_string;
48- }
49- location ^~ /actions {
50- try_files $uri $uri/ /index.php?$query_string;
51- }
5237
5338 location / {
5439 try_files $uri $uri/ /index.php?$args;
Original file line number Diff line number Diff line change @@ -29,21 +29,6 @@ server {
2929 deny all;
3030 return 404;
3131 }
32-
33- # Craft-specific location handlers to ensure AdminCP requests route through index.php
34- # If you change your `cpTrigger`, change it here as well
35- location ^~ /admin {
36- try_files $uri $uri / @phpfpm_nocache;
37- }
38- location ^~ /index.php/admin {
39- try_files $uri $uri / @phpfpm_nocache;
40- }
41- location ^~ /cpresources {
42- try_files $uri $uri / /index.php?$query_string ;
43- }
44- location ^~ /actions {
45- try_files $uri $uri / /index.php?$query_string ;
46- }
4732
4833 location / {
4934 try_files $uri $uri / /index.php?$args ;
Original file line number Diff line number Diff line change @@ -14,21 +14,6 @@ server {
1414
1515 include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
1616
17- # Craft-specific location handlers to ensure AdminCP requests route through index.php
18- # If you change your `cpTrigger`, change it here as well
19- location ^~ /admin {
20- try_files $uri $uri/ @phpfpm_nocache;
21- }
22- location ^~ /index.php/admin {
23- try_files $uri $uri/ @phpfpm_nocache;
24- }
25- location ^~ /cpresources {
26- try_files $uri $uri/ /index.php?$query_string;
27- }
28- location ^~ /actions {
29- try_files $uri $uri/ /index.php?$query_string;
30- }
31-
3217 location / {
3318 try_files $uri $uri/ /index.php?$query_string;
3419 location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js|webp)$ {
Original file line number Diff line number Diff line change @@ -9,21 +9,6 @@ server {
99
1010 include % home% /% user% /conf/web/% domain% /nginx.forcessl.conf*;
1111
12- # Craft-specific location handlers to ensure AdminCP requests route through index.php
13- # If you change your `cpTrigger`, change it here as well
14- location ^~ /admin {
15- try_files $uri $uri / @phpfpm_nocache;
16- }
17- location ^~ /index.php/admin {
18- try_files $uri $uri / @phpfpm_nocache;
19- }
20- location ^~ /cpresources {
21- try_files $uri $uri / /index.php?$query_string ;
22- }
23- location ^~ /actions {
24- try_files $uri $uri / /index.php?$query_string ;
25- }
26-
2712 location / {
2813 try_files $uri $uri / /index.php?$query_string ;
2914 location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js|webp)$ {
You can’t perform that action at this time.
0 commit comments