[cherry-pick]add v6 port for nginx ad portal config (#19893)

add v6 port for nginx ad portal config

Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
MinerYang 2024-01-24 16:46:04 +08:00 committed by GitHub
parent d378663379
commit 8bd8c6d10c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ http {
server {
listen 8443 ssl;
listen [::]:8443 ssl;
# server_name harbordomain.com;
server_tokens off;
# SSL

View File

@ -17,6 +17,7 @@ http {
server {
{% if internal_tls.enabled %}
listen 8443 ssl;
listen [::]:8443 ssl;
# SSL
ssl_certificate /etc/harbor/tls/portal.crt;
ssl_certificate_key /etc/harbor/tls/portal.key;