Explorar el Código

Add Nginx HTTP listener variables

andryyy hace 8 años
padre
commit
f429180044
Se han modificado 1 ficheros con 5 adiciones y 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