File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ All images built for `linux/amd64` and `linux/arm64`
112112| ` NGINX_SERVER_NAME ` | ` default ` | |
113113| ` NGINX_SERVER_ROOT ` | ` /var/www/html ` | |
114114| ` NGINX_SERVER_TOKENS ` | ` off ` | |
115+ | ` NGINX_SERVER_PORT ` | ` 80 ` | |
115116| ` NGINX_SET_REAL_IP_FROM ` | | |
116117| ` NGINX_SET_REAL_IPS_FROM ` | | json array as string |
117118| ` NGINX_STATIC_404_TRY_INDEX ` | | |
@@ -133,7 +134,6 @@ All images built for `linux/amd64` and `linux/arm64`
133134| ` NGINX_UPLOAD_PROGRESS ` | ` uploads 1m ` | |
134135| ` NGINX_USER ` | ` nginx ` | |
135136| ` NGINX_VHOST_NO_DEFAULTS ` | | |
136- | ` NGINX_VHOST_PORT ` | ` 80 ` | |
137137| ` NGINX_VHOST_PRESET ` | ` html ` | |
138138| ` NGINX_WORKER_CONNECTIONS ` | ` 1024 ` | |
139139| ` NGINX_WORKER_PROCESSES ` | ` auto ` | |
Original file line number Diff line number Diff line change 11include upstream.conf ;
22
33server {
4- listen {{ getenv " NGINX_VHOST_PORT " " 80" }} default_server{{- if getenv " NGINX_HTTP2" }} http2{{- end }};
4+ listen {{ getenv " NGINX_SERVER_PORT " " 80" }} default_server{{- if getenv " NGINX_HTTP2" }} http2{{- end }};
55 server_name {{ getenv " NGINX_SERVER_NAME" " default" }};
66
77 root {{ getenv " NGINX_SERVER_ROOT" " /var/www/html" }};
You can’t perform that action at this time.
0 commit comments