🐛 Fixed caddy for socket.io
This commit is contained in:
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user