Изменить 'octobercms.conf'
This commit is contained in:
@ -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; }
|
||||
|
Reference in New Issue
Block a user