0
0
mirror of https://github.com/makeplane/plane synced 2024-06-14 14:31:34 +00:00
plane/nginx/env.sh
AbId KhAn 38580c3940 Fix env substitute issue in websocket docker setup ()
* fix websocket connection issue in docker 

* fix websocket connection issue for local env with removing from the prod nginx conf template 

* fix env substitution issue  of proxy_set_header 

* review fixes

---------

Co-authored-by: Manish Gupta <manish@mgupta.me>
2024-01-22 13:19:43 +05:30

7 lines
158 B
Bash

#!/bin/sh
export dollar="$"
export http_upgrade="http_upgrade"
envsubst < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf
exec nginx -g 'daemon off;'