log.io icon indicating copy to clipboard operation
log.io copied to clipboard

Changing /socket.io/ route behind reverse proxy

Open radmanz opened this issue 10 years ago • 2 comments

Due to the geographic location of my server, i'm unable to open any ports other then 80,443 to bypass this problem. I currently have a socket.io application running on this server, and would like to use log.io to view the existing application log files. I am able access log.io's http server using NGINX reverse proxy. (using this method: https://github.com/NarrativeScience/Log.io/issues/142 )

But the socket.io route is conflicting with the existing socket.io application. Whats the best way to change the socket.io resource: / path: on both the server and client of log.io? I've done some experimentation and managed to change the client browser JS path from log.io.js, but im not sure if this is the best method? Any information would be appreciated.

radmanz avatar Apr 21 '15 08:04 radmanz

would be great if the log_server.conf conf file has something like: url_prefix: 'logio' so that the url can be accessed as http://127.0.0.1:28777/logio which would make life much more easier for proxying.

strannik19 avatar Mar 15 '17 13:03 strannik19

I agree with strannik19

sik0vny avatar May 10 '20 12:05 sik0vny