nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests |Archive

commit 426cffb702d7271fe2e7fb5672682ed52a0b9c9b
parent 753f6b23e7b2c345ce1e3f65597d04795e073cac
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun,  2 Feb 2025 00:35:44 +0100

fix(silverbullet): add proxy headers

Diffstat:
Mhcl/default/silverbullet/templates/nginx.conf.tmpl | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/hcl/default/silverbullet/templates/nginx.conf.tmpl b/hcl/default/silverbullet/templates/nginx.conf.tmpl @@ -6,5 +6,9 @@ server { location / { proxy_pass http://{{ env "NOMAD_ADDR_http" }}; + 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 X-Forwarded-Proto $scheme; } }