proxy-nginx/deploy-this/lets-encrypt/all-domains.conf

19 lines
257 B
Plaintext
Executable File

server {
listen 80 ;
server_tokens off;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
proxy_pass http://work:8091;
return 301 https://$host$request_uri;
}
}