🐛 Fixed caddy for socket.io

This commit is contained in:
Mawoka
2022-03-06 11:55:04 +01:00
parent 30068cb95b
commit 58801fdb7c
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@
reverse_proxy /rapidoc* localhost:8000
reverse_proxy /openapi.json localhost:8000
reverse_proxy /socket.io* localhost:8000
reverse_proxy /socket.io/* localhost:8000
}
+2 -1
View File
@@ -1,6 +1,7 @@
:8080 {
reverse_proxy * http://frontend:3000
reverse_proxy /api* http://api:80
reverse_proxy /api/* http://api:80
reverse_proxy /openapi.json http://api:80 # Only use if you need to serve the OpenAPI spec
reverse_proxy /docs http://api:80 # Only use if you need to serve the Swagger UI
reverse_proxy /socket.io/* api:80
}