Explorar o código

Fix server_name for 80 > 433 rediret

andryyy %!s(int64=8) %!d(string=hai) anos
pai
achega
23cb056ec5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/u_and_e.md

+ 1 - 1
docs/u_and_e.md

@@ -215,7 +215,7 @@ Open `data/conf/nginx/site.conf` and add a new "catch-all" site at the top of th
 ```
 server {
 	listen 80 default_server;
-	server_name _;
+	include /etc/nginx/conf.d/server_name.active;
 	return 301 https://$host$request_uri;
 }
 ```