Parcourir la source

nginx: fix: actually export variable

Aaron van Meerten il y a 3 ans
Parent
commit
8fe2856777
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      web/rootfs/etc/cont-init.d/10-config

+ 1 - 1
web/rootfs/etc/cont-init.d/10-config

@@ -64,7 +64,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
 fi
 
 # export this here to ensure JVB and nginx are in sync about websocket proxy host
-JVB_WS_SERVER_ID_FALLBACK=$(dig +short jvb)
+export JVB_WS_SERVER_ID_FALLBACK=$(dig +short jvb)
 
 # copy config files
 tpl /defaults/nginx.conf > /config/nginx/nginx.conf