fix: nginx conf for letsencrypt auto renew

This commit is contained in:
tmshv committed 2016-07-05 22:52:29 +03:00
1 parent 8991a15e54
commit af4b8f9c83
1 file changed
+3 -5
+3 -5
View File
@@ -32,12 +32,10 @@ server {
location ^~ /.well-known/acme-challenge { location ^~ /.well-known/acme-challenge {
root /home/hoster/www/art.shburg.org/public; root /home/hoster/www/art.shburg.org/public;
} }
}
server { location / {
listen 80; return 301 https://art.shlisselburg.org$request_uri;
server_name art.shlisselburg.org; }
return 301 https://art.shlisselburg.org$request_uri;
} }
map $http_upgrade $connection_upgrade { map $http_upgrade $connection_upgrade {