aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorforest <forest.n.johnson@gmail.com>2021-01-13 17:46:00 -0600
committerforest <forest.n.johnson@gmail.com>2021-01-13 17:46:00 -0600
commitb4a895df45cd40ceb268015f094635a4a8bd823a (patch)
treef8d5973f0c1ad5f58caff2daae448ff05eb39a90
parent12ed792e93a1eea013a8f0cb9c15b687774f3de5 (diff)
downloadops-handbook-b4a895df45cd40ceb268015f094635a4a8bd823a.tar.gz
ops-handbook-b4a895df45cd40ceb268015f094635a4a8bd823a.tar.bz2
add nginx-custom-configs tag
-rw-r--r--ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf1
-rw-r--r--ansible/site.yml4
2 files changed, 4 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 2360908..846b057 100644
--- a/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf
+++ b/ansible/files/magnataur.cyberia.club/nginx/btcpay2.cyberia.club.conf
@@ -18,6 +18,7 @@ server {
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto https;
proxy_pass http://localhost:3000;
}
}
diff --git a/ansible/site.yml b/ansible/site.yml
index a9de2ed..9eab06b 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -8,7 +8,9 @@
- common
- nginx
- uacme
- - nginx-custom-configs
+ - role: nginx-custom-configs
+ tags: nginx-custom-configs
+
- name: setup DBServer
hosts: dbservers