Explorar o código

Gogs shouldn't provide the nginx default_server

Till Klocke %!s(int64=8) %!d(string=hai) anos
pai
achega
73a5851004
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;