backport 404 comment
@@ -23,6 +23,10 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
+
+ # Don't handle 404's here because they are from the application
+ # We only want to catch 404's from the storage backend.
+
add_header X-Served Django-Proxito always;
}
