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
+2 -4
+2 -4
View File
@@ -32,13 +32,11 @@ 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;
server_name art.shlisselburg.org;
return 301 https://art.shlisselburg.org$request_uri; return 301 https://art.shlisselburg.org$request_uri;
} }
}
map $http_upgrade $connection_upgrade { map $http_upgrade $connection_upgrade {
default upgrade; default upgrade;