mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-25 10:12:50 +01:00
Update nginx.conf
This commit is contained in:
parent
abdc9ccb3b
commit
c341ff2a30
@ -9,7 +9,7 @@ location / {
|
||||
rewrite ^/(cache|config|formwork|templates|vendor)/.* index.php last;
|
||||
|
||||
rewrite ^/(.*)\.(md|yml|json)/?$ /index.php last;
|
||||
rewrite ^/(LICENSE|composer\.lock|\.gitignore|\.php_cs|nginx.conf)/?$ /index.php last;
|
||||
rewrite ^/(\.(.*)|LICENSE|composer\.lock|nginx.conf)/?$ /index.php last;
|
||||
|
||||
## Let all URI be processed by index.php
|
||||
if (!-e $request_filename) {
|
||||
@ -19,5 +19,5 @@ location / {
|
||||
|
||||
location /admin {
|
||||
rewrite ^/admin/(accounts|languages|logs|schemes|src|views)/.* /index.php last;
|
||||
rewrite ^/admin/\.eslintrc|gulpfile\.js/?$ /index.php last;
|
||||
rewrite ^/admin/(\.(.*)|gulpfile\.js)/?$ /index.php last;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user