dotfiles/roles/nginx/templates/reverse_proxy.conf
Matej Focko c7293cd6ea
chore: move out the server roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:15:31 +02:00

13 lines
241 B
Text

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