diff --git a/nginx.conf b/nginx.conf index 1483107..f658d9f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;