fixed nginx conf

This commit is contained in:
2021-05-18 11:49:33 +02:00
parent 0b6f134691
commit 198036de8d
6 changed files with 106 additions and 98 deletions

View File

@@ -1,12 +1,14 @@
# https://www.howtoforge.com/tutorial/install-letsencrypt-and-secure-nginx-in-debian-9/
server {
listen 80;
listen [::]:80;
server_name DOMAIN.LTD;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name DOMAIN.LTD;