aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx_reverse_proxy/templates
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-09 22:02:58 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-09 22:02:58 +0100
commitd45e17a0b72c6cc160444d0a666cc95b803b6ffc (patch)
tree510484aacec7c8d801ab62f31967c540f97fc148 /roles/nginx_reverse_proxy/templates
parentc89645dd6db1b0bdb03e740310062244d2767e11 (diff)
parent83b34879eef7b5c12ecc52732cc5eb26ba063c81 (diff)
downloadansible_collection-d45e17a0b72c6cc160444d0a666cc95b803b6ffc.tar.gz
Merge remote-tracking branch 'lauch/dev' into dev
Diffstat (limited to 'roles/nginx_reverse_proxy/templates')
-rw-r--r--roles/nginx_reverse_proxy/templates/nginx.conf.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/nginx_reverse_proxy/templates/nginx.conf.j2 b/roles/nginx_reverse_proxy/templates/nginx.conf.j2
new file mode 100644
index 0000000..4c8ed3a
--- /dev/null
+++ b/roles/nginx_reverse_proxy/templates/nginx.conf.j2
@@ -0,0 +1,12 @@
+# vi: ft=nginx
+server {
+ listen 443 ssl;
+ server_name {{ nginx_reverse_proxy.server_name }} ;
+
+ ssl_certificate {{ nginx_reverse_proxy.cert }};
+ ssl_certificate_key {{ nginx_reverse_proxy.key }};
+
+ location / {
+ proxy_pass {{ nginx_reverse_proxy.proxy_address }};
+ }
+}