This commit is contained in:
2025-08-27 23:22:45 +07:00
parent 05dc225793
commit cd4f970f44

View File

@@ -4,12 +4,19 @@ http {
server {
listen 80;
location /.well-known/acme-challenge/ {
root /usr/share/nginx/html/;
proxy_pass http://certbot:80;
}
# location / {
# return 301 https://$server_name:443$request_uri;
# }
}
# server {
# listen 443;
# server_name hypoxie.duckdns.org;
# return 301 https://adoptapet.ru/cats/;
# }
server {
listen 443 ssl http2;