mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: remove asset forward to index.php
This makes logging look a little better for development purposes. Now, `docker-compose logs php-fpm` will only show details about PHP accesses, while `docker-compose logs nginx` will show accesses regarding PHP assets. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
3bacfe6cd9
commit
a120af5a00
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ http {
|
|||
include fastcgi_params;
|
||||
}
|
||||
|
||||
location ~ .+\.(css|js?|jpe?g|png|svg|ico)/?$ {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location ~ .* {
|
||||
rewrite ^/(.*)$ /index.php/$1 last;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue