Update tube.conf

This commit is contained in:
Anthony Wang 2021-06-14 03:29:47 +00:00 committed by GitHub
parent c1ef88ed1e
commit 5644472c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,7 @@ server {
server_name tube.exozy.me; server_name tube.exozy.me;
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {
default_type "text/plain"; allow all;
root /var/lib/certbot;
} }
location / { location / {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;