Explorar o código

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

Till Klocke %!s(int64=7) %!d(string=hai) anos
pai
achega
82b010c4c6

+ 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;