فهرست منبع

Of course the prometheus HTTPs config can't be default server.

Till Klocke 8 سال پیش
والد
کامیت
82b010c4c6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      roles/service-prometheus/templates/prometheus_nginx.conf.j2

+ 2 - 2
roles/service-prometheus/templates/prometheus_nginx.conf.j2

@@ -1,6 +1,6 @@
 server {
-  listen          443 ssl http2 default_server;
-  listen          [::]:443 ssl http2 default_server;
+  listen          443 ssl http2;
+  listen          [::]:443 ssl http2;
   server_name     {{ prometheus_domain }};
 
   include /etc/nginx/ssl.conf;