From 5e1d45b2bdc97de3d0646754154dbf71b1827e84 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sat, 3 Aug 2024 20:37:14 +0700 Subject: [PATCH] Create pi-network-web.conf.j2 --- .../pi-network/templates/pi-network-web.conf.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 blockchain_integration/pi_network/CloudNexus/roles/pi-network/templates/pi-network-web.conf.j2 diff --git a/blockchain_integration/pi_network/CloudNexus/roles/pi-network/templates/pi-network-web.conf.j2 b/blockchain_integration/pi_network/CloudNexus/roles/pi-network/templates/pi-network-web.conf.j2 new file mode 100644 index 000000000..a644be45b --- /dev/null +++ b/blockchain_integration/pi_network/CloudNexus/roles/pi-network/templates/pi-network-web.conf.j2 @@ -0,0 +1,13 @@ +server { + listen 80; + server_name pi-network-web; + + location / { + proxy_pass http://localhost:80; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + } +}