diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-09-07 22:14:12 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-09-07 22:14:12 -0700 |
commit | b0c0189066a486f9da4a048c7780dbc640031d27 (patch) | |
tree | 6ad5997b7ce9e3d4a0232071f103622aca2395ca /playbooks/roles/outbound/templates | |
parent | 9859fc0ee7503d853b5d028f0594b6f885d27dc3 (diff) | |
download | infra-b0c0189066a486f9da4a048c7780dbc640031d27.tar.gz infra-b0c0189066a486f9da4a048c7780dbc640031d27.zip |
Remove portainer and add some monitoring updates
Diffstat (limited to 'playbooks/roles/outbound/templates')
-rw-r--r-- | playbooks/roles/outbound/templates/proxy/nginx/conf.d/graph.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/playbooks/roles/outbound/templates/proxy/nginx/conf.d/graph.conf b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/graph.conf new file mode 100644 index 0000000..6c74f8e --- /dev/null +++ b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/graph.conf @@ -0,0 +1,19 @@ +server { + listen 80; + server_name graph.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"; + } +} |