From 4663ced9b61a9b4c2259a86c147f0be9ceadcca4 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sun, 26 Mar 2023 20:31:04 +0200 Subject: nginx custom options --- roles/nginx_reverse_proxy/templates/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/nginx_reverse_proxy/templates/nginx.conf.j2') diff --git a/roles/nginx_reverse_proxy/templates/nginx.conf.j2 b/roles/nginx_reverse_proxy/templates/nginx.conf.j2 index 4c8ed3a..d279cdc 100644 --- a/roles/nginx_reverse_proxy/templates/nginx.conf.j2 +++ b/roles/nginx_reverse_proxy/templates/nginx.conf.j2 @@ -6,6 +6,8 @@ server { ssl_certificate {{ nginx_reverse_proxy.cert }}; ssl_certificate_key {{ nginx_reverse_proxy.key }}; + {{ nginx_reverse_proxy.nginx_options | default("") }} + location / { proxy_pass {{ nginx_reverse_proxy.proxy_address }}; } -- cgit v1.2.3