Explorar el Código

Gogs shouldn't provide the nginx default_server

Till Klocke hace 8 años
padre
commit
73a5851004
Se han modificado 1 ficheros con 2 adiciones y 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;