diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-04-01 00:23:21 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-04-01 00:23:21 -0700 |
commit | ce8931e6fe1fc1e9bd004f9357e15309d1265975 (patch) | |
tree | a6d588cf48e2fc628ef3c2d261e68224ea95f787 /playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf | |
parent | aeab0e7c54e3995312490e7c4476f162b880f625 (diff) | |
download | infra-ce8931e6fe1fc1e9bd004f9357e15309d1265975.tar.gz infra-ce8931e6fe1fc1e9bd004f9357e15309d1265975.zip |
more progress on proxy routing and stuff
Diffstat (limited to 'playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf')
-rw-r--r-- | playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf b/playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf new file mode 100644 index 0000000..c85ebcf --- /dev/null +++ b/playbooks/roles/outbound/templates/proxy/sites-enabled/idm.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name idm.liz.coffee; + + location / { + proxy_pass https://{{ loadbalancer_ip }}; + proxy_ssl_verify off; + 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; + } +} |