Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions swarm-syncer/beamup-sync-swarm
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ server {
proxy_pass http://${appName};
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_cache ${appName}_cache;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504 updating;
# this setting is too much, cause with two layers of cache it means that the top layer will index a stale resp
Expand Down