Skip to content
Permalink
Browse files

feat: expose more ports

  • Loading branch information...
etienne-napoleone committed Jan 16, 2019
1 parent 9d16926 commit 8a8ed9c5a7d18739b897a1250250b134341c7ab8
Showing with 34 additions and 0 deletions.
  1. +2 −0 docker-compose.yml
  2. +32 −0 nginx.conf
@@ -5,9 +5,11 @@ services:
proxy:
image: nginx:alpine
ports:
- 80:80
- 3000:3000
- 3001:3001
- 3002:3002
- 3003:3003
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
restart: always
@@ -15,4 +15,36 @@ http {
}

}
server {
listen 3001;

location / {
rewrite ^(.*) https://maintenance.sgp1.cdn.digitaloceanspaces.com/index.html redirect;
}

}
server {
listen 3002;

location / {
rewrite ^(.*) https://maintenance.sgp1.cdn.digitaloceanspaces.com/index.html redirect;
}

}
server {
listen 3003;

location / {
rewrite ^(.*) https://maintenance.sgp1.cdn.digitaloceanspaces.com/index.html redirect;
}

}
server {
listen 80;

location / {
rewrite ^(.*) https://maintenance.sgp1.cdn.digitaloceanspaces.com/index.html redirect;
}

}
}

0 comments on commit 8a8ed9c

Please sign in to comment.
You can’t perform that action at this time.