-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix env substitute issue in websocket docker setup (#3296)
* fix websocket connection issue in docker #3195 * fix websocket connection issue for local env with removing from the prod nginx conf template #319 * fix env substitution issue of proxy_set_header #3196 * review fixes --------- Co-authored-by: Manish Gupta <manish@mgupta.me>
- Loading branch information
1 parent
7ff91fd
commit 38580c3
Showing
3 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/sh | ||
|
||
export dollar="$" | ||
export http_upgrade="http_upgrade" | ||
envsubst < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf | ||
exec nginx -g 'daemon off;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters