Przeglądaj źródła

Gogs shouldn't provide the nginx default_server

Till Klocke 8 lat temu
rodzic
commit
73a5851004
1 zmienionych plików z 2 dodań i 2 usunięć
  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;