Replies: 1 comment 1 reply
-
Daphne exposes a https://asgi.readthedocs.io/en/latest/specs/www.html?highlight=root_path#http-connection-scope This should be what you're looking for. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. Have some issue in production.
In dev i successfully connecting to
ws://localhost:8000/ws/informing/1243/
.In production i cant connect to
ws://localhost/project_name/ws/informing/1243/
with errorValueError: No route found for path 'project_name/ws/informing/1243/'.
I can make it work with changing regex
to
r"project_name/ws/informing/(?P<ou>\d+)/$"
orr".*ws/informing/(?P<ou>\d+)/$"
.But isnt there more convinient way with setting up?
Nginx:
Beta Was this translation helpful? Give feedback.
All reactions