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; - } - } -}