Fix the webroot method in the nginx config
This commit is contained in:
parent
e00e4c0e7a
commit
c013d3f3c8
|
@ -22,7 +22,7 @@ server {
|
||||||
# to get the certificate, and then uncomment it.
|
# to get the certificate, and then uncomment it.
|
||||||
#
|
#
|
||||||
# location ~ /\.well-known/acme-challenge {
|
# location ~ /\.well-known/acme-challenge {
|
||||||
# alias /var/lib/letsencrypt/.well-known/acme-challenge;
|
# root /var/lib/letsencrypt/;
|
||||||
# }
|
# }
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$server_name$request_uri;
|
return 301 https://$server_name$request_uri;
|
||||||
|
|
Loading…
Reference in New Issue