mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 06:16:16 +00:00
Enable static file caching with WhiteNoise and nginx. Switch to Gunicorn for deployment
This commit is contained in:
@@ -14,6 +14,8 @@ server {
|
||||
|
||||
location /static/ {
|
||||
alias /static/;
|
||||
expires 1h;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user