add proxy to reach mercure server
testing/ogcore-api/pipeline/head This commit looks good
Details
testing/ogcore-api/pipeline/head This commit looks good
Details
parent
14f662a2a6
commit
ca79698e87
|
@ -20,13 +20,14 @@ server {
|
||||||
proxy_read_timeout 24h;
|
proxy_read_timeout 24h;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Connection "";
|
proxy_set_header Connection "";
|
||||||
|
proxy_set_header Host $host:$server_port;
|
||||||
|
|
||||||
# Enable fast reply in SSE
|
# Enable fast reply in SSE
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
||||||
## Be sure to set USE_FORWARDED_HEADERS=1 to allow the hub to use those headers ##
|
# Forward headers
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host:$server_port;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue