proxy-nginx/nginx-config/https/http-for-letsencrypt.conf

19 lines
248 B
Plaintext
Executable File

server {
listen 80 default_server;
server_name _;
server_tokens off;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://$host$request_uri;
}
}