mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #153] Changing /socket.io/ route behind reverse proxy #126
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @radmanz on GitHub (Apr 21, 2015).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/153
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.
@strannik19 commented on GitHub (Mar 15, 2017):
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.
@sik0vny commented on GitHub (May 10, 2020):
I agree with strannik19