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