bundlewrap/data/nginx/proxy_pass.conf
2022-08-31 12:02:40 +02:00

13 lines
369 B
Text

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ${server_name};
ssl_certificate /var/lib/dehydrated/certs/${server_name}/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/${server_name}/privkey.pem;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass ${target};
}
}