Commit d2f1d973 authored by kavinduchamiran's avatar kavinduchamiran

v13

parent fe188c66
...@@ -15,6 +15,9 @@ spec: ...@@ -15,6 +15,9 @@ spec:
ports: ports:
- containerPort: 80 - containerPort: 80
name: http-port name: http-port
env:
- name: CLOUDL_SERVER
value: cloudl-server-service
selector: selector:
matchLabels: matchLabels:
app: cloudl-client app: cloudl-client
\ No newline at end of file
...@@ -7,7 +7,7 @@ server { ...@@ -7,7 +7,7 @@ server {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
proxy_pass http://cloudl-server-service:5000/; proxy_pass http://cloudl-server-service:5000/socket.io/;
} }
location /api/ { location /api/ {
...@@ -16,7 +16,7 @@ server { ...@@ -16,7 +16,7 @@ server {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
proxy_pass http://cloudl-server-service:5000/; proxy_pass http://cloudl-server-service:5000/api/;
} }
location / { location / {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment