From 7c7070592a5ae54078b0f47ff3a1ffb3d80daf29 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sat, 3 Aug 2024 20:42:42 +0700 Subject: [PATCH] Create nginx.conf --- .../pi_network/CloudNexus/docker/web/nginx.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 blockchain_integration/pi_network/CloudNexus/docker/web/nginx.conf diff --git a/blockchain_integration/pi_network/CloudNexus/docker/web/nginx.conf b/blockchain_integration/pi_network/CloudNexus/docker/web/nginx.conf new file mode 100644 index 000000000..56f2860f0 --- /dev/null +++ b/blockchain_integration/pi_network/CloudNexus/docker/web/nginx.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name pi-network-web; + + location / { + proxy_pass http://pi-network-api:8080; + 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; + } +}