remove try_files usage for txt/xml
This commit is contained in:
parent
0dd856c41f
commit
539b97e347
@ -84,7 +84,6 @@ server {
|
|||||||
location ~ "\.(txt|xml)$" {
|
location ~ "\.(txt|xml)$" {
|
||||||
include /etc/nginx/snippets/security-headers.conf;
|
include /etc/nginx/snippets/security-headers.conf;
|
||||||
add_header Cache-Control "public, max-age=1800";
|
add_header Cache-Control "public, max-age=1800";
|
||||||
try_files $uri $uri.html $uri/ =404;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user