Skip to content

Commit 0ed88be

Browse files
committed
Update http port variable and set port to ipv6 option
1 parent e9e717b commit 0ed88be

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ NGINX_LETSENCRYPT_LOG_MAX_FILE=10
8686
# where you might need to change http and https port number, keep in mind that changes
8787
# on that setting might will break the auto renewing Let's Encrypt certificate services
8888
#
89-
DOCKER_HTTP=80
89+
DOCKER_HTTP_=80
9090
DOCKER_HTTPS=443
9191

9292
#-----------------------------------------------------------------------

bin/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ REPLACE_LETSENCRYPT_SERVICE_NAME="nginx-proxy-automation-letsencrypt"
5757
# md5 checksum for .env and docker-compose.yml files
5858
#
5959
MD5_SUM_DOCKER_COMPOSE=5a9db4ac1b6fb25d683b8ed9929a7c42
60-
MD5_SUM_ENV_SAMPLE=a24f8b55bc691fce5d1c49d89c5389ad
60+
MD5_SUM_ENV_SAMPLE=c5b95cf10f4d510752602bb3f3939d6d

bin/localscript/update-env-new-site-variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local_update_env_new_site_variables()
6666
run_function env_update_variable $LOCAL_FILE_PATH "NGINX_LETSENCRYPT_LOG_MAX_FILE" "$LETSENCRYPT_LOG_MAX_FILE"
6767

6868
# Port bindings
69-
run_function env_update_variable $LOCAL_FILE_PATH "DOCKER_HTTP" "$DOCKER_HTTP"
69+
run_function env_update_variable $LOCAL_FILE_PATH "DOCKER_HTTP_" "$DOCKER_HTTP"
7070
run_function env_update_variable $LOCAL_FILE_PATH "DOCKER_HTTPS" "$DOCKER_HTTPS"
7171

7272
# SSL Policy

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ services:
88
container_name: ${NGINX_WEB_SEVICE_NAME:-nginx-proxy-automation-web}
99
restart: always
1010
ports:
11-
- "${IPv4:-0.0.0.0}:${DOCKER_HTTP:-80}:80"
11+
- "${IPv4:-0.0.0.0}:${DOCKER_HTTP_:-80}:80"
1212
- "${IPv4:-0.0.0.0}:${DOCKER_HTTPS:-443}:443"
13-
# - "${IPv6:-::/0}:80:80"
14-
# - "${IPv6:-::/0}:443:443"
13+
# - "${IPv6:-::/0}:${DOCKER_HTTP_:-80}:80"
14+
# - "${IPv6:-::/0}:${DOCKER_HTTPS:-443}:443"
1515
environment:
1616
SSL_POLICY: ${SSL_POLICY:-Mozilla-Intermediate}
1717
volumes:

0 commit comments

Comments
 (0)