computer-playbook/roles/native-nginx-docker-proxy/templates/https_proxy_pass.conf.j2

12 lines
339 B
Django/Jinja

location /
{
proxy_pass https://127.0.0.1:{{https_port}}/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
}