From 46d42e2b640daa47739d1777b163692637c5e922 Mon Sep 17 00:00:00 2001 From: VasuDevrani Date: Wed, 3 May 2023 23:00:20 +0530 Subject: [PATCH] test workflow --- proxy/default.conf | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 proxy/default.conf diff --git a/proxy/default.conf b/proxy/default.conf deleted file mode 100644 index fc89e3b..0000000 --- a/proxy/default.conf +++ /dev/null @@ -1,41 +0,0 @@ -worker_processes 4; - -events { worker_connections 1024 }; - -http { - - server { - - listen 80; - charset utf-8; - - location / { - proxy_pass http://products:5001; - 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; - } - - location ~ ^/shopping { - rewrite ^/shopping/(.*) /$1 break; - proxy_pass http://shopping:5002; - 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; - } - - location /customer { - rewrite ^/customer/(.*)$ /$1 break; - proxy_pass http://customer:5000; - 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; - } - } -}