Open pferdob opened 4 years ago
As I'm no expert in nginx configuration...
Sorry, I'm not an expert in nginx as well. I've tried only the simplest configuration (with location /
). But probably I have to try it by myself (because your scenario may be actual for other users as well, I'm not sure).
I can't promise you that I'll do it very soon...
I guess it would be reasonable to assume nginx expects a request of ws://cardano.domain.com:80/rt-view/websocket/
. How else is it supposed to know to location this websocket belongs? I guess it is part of the scripts delivered by the internal web server. One cannot really try it out unless fixing them for using the whole URI instead of the hostname only.
Thank you!
I used RT View for some days now, server from
http://cardano.domain.com
. In order to be able to use Let's Encrypt's cerbot for https (which includes serving static "challenge" files to show one is the owner of the domain in question), I want to move RT View from/
to/rt-view/
in nginx' configuration (ergohttp://cardano.domain.com/rt-view
).Previous nginx config:
Resulting HTTP headers:
Until here everything works as expected.
New nginx config:
HTTP headers:
I've tried quite some configuration work-arounds, rewrites, added the same rules for
location /websocket/
etc. but it seems that only a proper request might help here? As I'm no expert in nginx configuration I might be missing sth. as well...Thanks in advance