generated from VLADIMIR/template_frontend
p
This commit is contained in:
+8
-1
@@ -10,7 +10,7 @@ services:
|
||||
networks:
|
||||
- crabs-network
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8100:80"
|
||||
command: >
|
||||
sh -c " echo 'server {
|
||||
listen 80;
|
||||
@@ -21,6 +21,13 @@ services:
|
||||
try_files \$uri \$uri/ /index.html;
|
||||
}
|
||||
}' > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;' "
|
||||
labels:
|
||||
reproxy.1.server: "evening-detective.crabs-games.art"
|
||||
reproxy.1.route: "/(.*)"
|
||||
reproxy.1.dest: "http://evening_detective_frontend:8100/$$1"
|
||||
reproxy.1.port: "81000"
|
||||
reproxy.1.ping: "/"
|
||||
reproxy.1.priority: 100
|
||||
|
||||
networks:
|
||||
crabs-network:
|
||||
|
||||
Reference in New Issue
Block a user