dotfiles/roles/server/nginx/templates/reverse_proxy.conf
Matej Focko 1380efe400
feat(server/nginx): implement nginx role
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 15:00:55 +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 }};
}
}