mirror of
https://github.com/goharbor/harbor
synced 2025-04-18 02:13:18 +00:00
add v6 port for nginx and portal config (#19868)
add v6 port for nginx ad portal config Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
parent
0db0d217a7
commit
522f96b5cf
|
@ -51,6 +51,7 @@ http {
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 8443 ssl;
|
listen 8443 ssl;
|
||||||
|
listen [::]:8443 ssl;
|
||||||
# server_name harbordomain.com;
|
# server_name harbordomain.com;
|
||||||
server_tokens off;
|
server_tokens off;
|
||||||
# SSL
|
# SSL
|
||||||
|
|
|
@ -17,6 +17,7 @@ http {
|
||||||
server {
|
server {
|
||||||
{% if internal_tls.enabled %}
|
{% if internal_tls.enabled %}
|
||||||
listen 8443 ssl;
|
listen 8443 ssl;
|
||||||
|
listen [::]:8443 ssl;
|
||||||
# SSL
|
# SSL
|
||||||
ssl_certificate /etc/harbor/tls/portal.crt;
|
ssl_certificate /etc/harbor/tls/portal.crt;
|
||||||
ssl_certificate_key /etc/harbor/tls/portal.key;
|
ssl_certificate_key /etc/harbor/tls/portal.key;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user