dotfiles/roles/nginx/templates/reverse_proxy.conf
Matej Focko d0fc1cd3d6
style: add Ansible-managed headers
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-15 16:50:11 +01:00

15 lines
266 B
Text

# {{ 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 }};
}
}