aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx_reverse_proxy/templates
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-03-26 20:31:04 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-03-26 20:31:04 +0200
commit4663ced9b61a9b4c2259a86c147f0be9ceadcca4 (patch)
treeb5fb42f906d1e23ebfdf815130c561259c19830f /roles/nginx_reverse_proxy/templates
parenta902a2f6e2c14d6ec4cffb56f12794489b6fd388 (diff)
downloadansible_collection-4663ced9b61a9b4c2259a86c147f0be9ceadcca4.tar.gz
nginx custom options
Diffstat (limited to 'roles/nginx_reverse_proxy/templates')
-rw-r--r--roles/nginx_reverse_proxy/templates/nginx.conf.j22
1 files changed, 2 insertions, 0 deletions
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 }};
}