diff --git a/Deployment.md b/Deployment.md index 6c7c5b4..4961625 100644 --- a/Deployment.md +++ b/Deployment.md @@ -54,13 +54,6 @@ server { ssl_certificate /etc/ssl/cert.pem; ssl_certificate_key /etc/ssl/key.pem; - location /static/ { - add_header Cache-Control "no-cache, no-store, must-revalidate" always; - add_header Pragma "no-cache" always; - add_header Expires "0" always; - proxy_pass http://host:port/static/; - } - location / { proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://host:port; @@ -69,8 +62,6 @@ server { } ``` -The `/static/` block is added to put additional cache headers to prevent visual bugs during updates, but this isn't required. - `$remote_addr` is passed to the app via `X-Forwarded-For` to enforce the anti-scraping ratelimit properly. If you remove this block, it may block access globally if your instance is abused. ## Reload