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