Browse Source

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

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

6
octobercms.conf

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

Loading…
Cancel
Save