Skip to content

Commit

Permalink
[cherry-pick]add v6 port for nginx ad portal config (#19893)
Browse files Browse the repository at this point in the history
add v6 port for nginx ad portal config

Signed-off-by: yminer <yminer@vmware.com>
  • Loading branch information
MinerYang authored Jan 24, 2024
1 parent d378663 commit 8bd8c6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions make/photon/prepare/templates/nginx/nginx.https.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ http {

server {
listen 8443 ssl;
listen [::]:8443 ssl;
# server_name harbordomain.com;
server_tokens off;
# SSL
Expand Down
1 change: 1 addition & 0 deletions make/photon/prepare/templates/portal/nginx.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8bd8c6d

Please sign in to comment.