Explorar o código

Add Nginx HTTP listener variables

andryyy %!s(int64=8) %!d(string=hai) anos
pai
achega
f429180044
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      generate_config.sh

+ 5 - 1
generate_config.sh

@@ -43,9 +43,13 @@ DBPASS=$(</dev/urandom tr -dc A-Za-z0-9 | head -c 28)
 DBROOT=$(</dev/urandom tr -dc A-Za-z0-9 | head -c 28)
 
 # ------------------------------
-# HTTPS Bindings
+# HTTP/S Bindings
 # ------------------------------
 
+# You should use HTTPS, but in case of SSL offloaded reverse proxies:
+HTTP_PORT=8080
+HTTP_BIND=0.0.0.0
+
 HTTPS_PORT=443
 HTTPS_BIND=0.0.0.0