Skip to content

Commit

Permalink
add v6 port for nginx ad portal config
Browse files Browse the repository at this point in the history
Signed-off-by: yminer <[email protected]>
  • Loading branch information
MinerYang committed Jan 24, 2024
1 parent 0db0d21 commit 1e44043
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 1e44043

Please sign in to comment.