diff --git a/nginx.conf b/nginx.conf index 326bc9ee..abc7de45 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,12 +32,10 @@ server { location ^~ /.well-known/acme-challenge { root /home/hoster/www/art.shburg.org/public; } -} -server { - listen 80; - server_name art.shlisselburg.org; - return 301 https://art.shlisselburg.org$request_uri; + location / { + return 301 https://art.shlisselburg.org$request_uri; + } } map $http_upgrade $connection_upgrade {