Fixing nginx configuration when server_name is not passed

This commit is contained in:
Ricardo Paes
2022-02-15 14:54:21 -03:00
parent 1e8dc0cce5
commit ca42c867cd
5 changed files with 20 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
server {
listen 80;
listen [::]:80;
return 302 https://$host$request_uri;
}