Selaa lähdekoodia

Gogs shouldn't provide the nginx default_server

Till Klocke 7 vuotta sitten
vanhempi
commit
73a5851004
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      roles/service-gogs/templates/gogs_nginx.conf.j2

+ 2 - 2
roles/service-gogs/templates/gogs_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     {{ gogs_domain }};
 
   include /etc/nginx/ssl.conf;