Remove forwarding http->https from conf file
This commit is contained in:
parent
a96b317922
commit
da7c9248c6
1 changed files with 0 additions and 1 deletions
1
dist/nginx-before-certbot.conf
vendored
1
dist/nginx-before-certbot.conf
vendored
|
@ -4,5 +4,4 @@ server {
|
||||||
server_name example.com;
|
server_name example.com;
|
||||||
root /home/mastodon/live/public;
|
root /home/mastodon/live/public;
|
||||||
location /.well-known/acme-challenge/ { allow all; }
|
location /.well-known/acme-challenge/ { allow all; }
|
||||||
location / { return 301 https://$host$request_uri; }
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue