Skip to content

Commit 75d9f06

Browse files
committed
perf: update web listen
1 parent e956af1 commit 75d9f06

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

compose/web.http.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
services:
22
web:
33
ports:
4-
- ${HTTPS_PORT:-443}:443
5-
environment:
6-
SERVER_NAME: ${SERVER_NAME:-}
7-
SSL_CERTIFICATE: ${SSL_CERTIFICATE:-}
8-
SSL_CERTIFICATE_KEY: ${SSL_CERTIFICATE_KEY:-}
9-
volumes:
10-
- ${CONFIG_DIR}/nginx/cert:/etc/nginx/cert
11-
- ${CONFIG_DIR}/nginx/lb_http_server.conf:/etc/nginx/sites-enabled/https_server.conf
4+
- ${HTTP_PORT-80}:80

compose/web.https.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
services:
22
web:
33
ports:
4-
- ${HTTP_PORT-80}:80
4+
- ${HTTPS_PORT:-443}:443
5+
environment:
6+
SERVER_NAME: ${SERVER_NAME:-}
7+
SSL_CERTIFICATE: ${SSL_CERTIFICATE:-}
8+
SSL_CERTIFICATE_KEY: ${SSL_CERTIFICATE_KEY:-}
9+
volumes:
10+
- ${CONFIG_DIR}/nginx/cert:/etc/nginx/cert
11+
- ${CONFIG_DIR}/nginx/lb_http_server.conf:/etc/nginx/sites-enabled/https_server.conf

0 commit comments

Comments
 (0)