Fix gitea env + proposer modal + favicon/nginx — 2026-01-31
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -9,6 +9,18 @@ server {
|
||||
add_header X-Frame-Options SAMEORIGIN always;
|
||||
add_header Referrer-Policy strict-origin-when-cross-origin always;
|
||||
|
||||
location = /favicon.ico {
|
||||
try_files /favicon.ico =404;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
location = /favicon.svg {
|
||||
try_files /favicon.svg =404;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
# Assets statiques (cache long)
|
||||
location ~* \.(?:css|js|mjs|json|png|jpg|jpeg|gif|svg|webp|ico|woff2?|ttf|eot|wasm)$ {
|
||||
try_files $uri =404;
|
||||
|
||||
Reference in New Issue
Block a user