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
10 changes: 5 additions & 5 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ HOOKS_LOCATION_BLOCK=""
if [ -n "$HOOKS_PATH" ]; then
HOOKS_LOCATION_BLOCK="location ${HOOKS_PATH} {
proxy_pass http://127.0.0.1:${GATEWAY_PORT};
proxy_set_header Authorization \\\$http_authorization;
proxy_set_header Authorization \$http_authorization;

proxy_set_header Host \\\$host;
proxy_set_header X-Real-IP \\\$remote_addr;
proxy_set_header X-Forwarded-For \\\$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \\\$scheme;
proxy_set_header Host \$host;
proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto \$scheme;

proxy_http_version 1.1;

Expand Down