summaryrefslogtreecommitdiff
path: root/playbooks/roles/outbound/templates/proxy/nginx/conf.d
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-26 23:40:15 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-26 23:40:15 -0700
commit9940cd169e931631a0da142f72a8ca6c878e34ed (patch)
tree4aa2f612b3eb6f2bb5905f66947bf394a797f584 /playbooks/roles/outbound/templates/proxy/nginx/conf.d
parent3d9e02eb8f9d380db7d7d4e947b857c30e4b4874 (diff)
downloadinfra-9940cd169e931631a0da142f72a8ca6c878e34ed.tar.gz
infra-9940cd169e931631a0da142f72a8ca6c878e34ed.zip
CI. Fuck.
Diffstat (limited to 'playbooks/roles/outbound/templates/proxy/nginx/conf.d')
-rw-r--r--playbooks/roles/outbound/templates/proxy/nginx/conf.d/mon.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/playbooks/roles/outbound/templates/proxy/nginx/conf.d/mon.conf b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/mon.conf
new file mode 100644
index 0000000..601e200
--- /dev/null
+++ b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/mon.conf
@@ -0,0 +1,19 @@
+server {
+ listen 80;
+ server_name mon.liz.coffee;
+
+ real_ip_header X-Forwarded-For;
+ real_ip_recursive on;
+ set_real_ip_from {{ docker_network }};
+
+ location / {
+ proxy_pass https://{{ loadbalancer_ip }};
+ proxy_ssl_verify off;
+ proxy_http_version 1.1;
+ proxy_set_header Host $host;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
+ }
+}