aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforest <forest.n.johnson@gmail.com>2021-01-13 17:48:31 -0600
committerforest <forest.n.johnson@gmail.com>2021-01-13 17:48:31 -0600
commit6974780ce5ca55f0783365eb0f4a37c48cea9416 (patch)
tree81590c647880825786b19529fa7cc106ccac71ba
parentb4a895df45cd40ceb268015f094635a4a8bd823a (diff)
downloadops-handbook-6974780ce5ca55f0783365eb0f4a37c48cea9416.tar.gz
ops-handbook-6974780ce5ca55f0783365eb0f4a37c48cea9416.tar.bz2
test $scheme in nginx config
-rw-r--r--ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf b/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf
index 846b057..e645c61 100644
--- a/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf
+++ b/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf
@@ -18,7 +18,7 @@ server {
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto https;
+ proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:3000;
}
}