Browse Source

* octobercms config allow all xml files in web-root

master
dimti 2 years ago
parent
commit
b85b503015
  1. 2
      config/nginx/includes.d/octobercms.conf

2
config/nginx/includes.d/octobercms.conf

@ -10,7 +10,7 @@
# Whitelist
## Let October handle if static file not exists
location = /favicon.ico { try_files $uri /index.php; }
location = /sitemap.xml { try_files $uri /index.php; }
location ~ ^/.*\.xml { try_files $uri /index.php; }
location = /robots.txt { try_files $uri /index.php; }
location = /humans.txt { try_files $uri /index.php; }

Loading…
Cancel
Save