dotfiles/roles/nginx/templates/reverse_proxy.conf

16 lines
266 B
Text
Raw Normal View History

# {{ ansible_managed }}
upstream {{ proxy_domain }} {
server {{ proxy_upstream }};
}
server {
include ssl.conf;
server_name {{ proxy_domain }}.{{ host_fqdn }};
location ~ / {
include proxy.conf;
proxy_pass {{ proxy_protocol }}://{{ proxy_domain }};
}
}