Просмотр исходного кода

Add ipv6 nginx configuration

In clusters with ipv6, the default nginx configuration did not enable ipv6, this enables it so the plugin assets can be loaded
Gabriel Bernal 3 лет назад
Родитель
Сommit
102c2679ca
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      charts/openshift-console-plugin/templates/configmap.yaml

+ 1 - 0
charts/openshift-console-plugin/templates/configmap.yaml

@@ -16,6 +16,7 @@ data:
       keepalive_timeout  65;
       server {
         listen              {{ .Values.plugin.port }} ssl;
+        listen              [::]:{{ .Values.plugin.port }} ssl;
         ssl_certificate     /var/cert/tls.crt;
         ssl_certificate_key /var/cert/tls.key;
         root                /usr/share/nginx/html;