Skip to content

Commit 8e1f5ed

Browse files
author
anvme
committed
Fix for mass adoption
Removed FastCGI Cache
1 parent e334204 commit 8e1f5ed

File tree

4 files changed

+0
-60
lines changed

4 files changed

+0
-60
lines changed

install/deb/templates/web/nginx/php-fpm/craftcms.stpl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff 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;

install/deb/templates/web/nginx/php-fpm/craftcms.tpl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff 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;

install/rhel/templates/web/nginx/php-fpm/craftcms.stpl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff 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)$ {

install/rhel/templates/web/nginx/php-fpm/craftcms.tpl

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff 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)$ {

0 commit comments

Comments
 (0)