Hello people, I have a django app+site that uses daphne to handle websocket connections at Everything else is apache + wsgi. This works fine, but I would like to use a bare subdomain that would redirect the connection to the above address, e.g.: ws://subdomain.example.com -> wss://example.com/some/path/ I am already using .htaccess in a static app for redirection purposes, with things like:
Basically, I would like to know the proper way to achieve this:
Any help is much appreciated... asked 18 May '19, 12:02 tari |