Skip to content
Snippets Groups Projects
Commit 89874153 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

make VILLASnode web mockup available

parent a33dc7dc
No related branches found
No related merge requests found
Pipeline #
FROM nginx:stable-alpine
COPY etc/nginx/villas.conf /etc/nginx/conf.d/default.conf
EXPOSE 8080
......@@ -32,6 +32,7 @@ services:
ports:
- "80:80"
- "443:443"
- "8080:8080"
# The MongoDB database for the VILLASweb backend
database:
......
......@@ -34,3 +34,15 @@ server {
proxy_pass http://frontend:5000/;
}
}
server {
listen 8080;
server_name Mockup;
location / {
proxy_pass http://node/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment