Browse Source

Изменить 'octobercms.conf'

master
gitea 3 years ago
parent
commit
0dcdd8415f
  1. 6
      octobercms.conf

6
octobercms.conf

@ -2,6 +2,12 @@
location / {
rewrite ^/.*$ /index.php last;
}
location ~ ^/combine.*\.(css|js) {
rewrite ^/.*$ /index.php last;
expires max;
}
# Whitelist
## Let October handle if static file not exists
location ~ ^/favicon\.ico { try_files $uri /index.php; }

Loading…
Cancel
Save