mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-26 01:25:55 +03:00
[GH-ISSUE #142] Doesn't seem to work behind reverse proxy (nginx) #115
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#115
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 @ianbamforth on GitHub (Dec 16, 2014).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/142
I've exposed port 28778 through nginx, but all I get is the basic web page - none of the log content is shown. Any clues what ports / routes are required in order to make it work?
@tianchaijz commented on GitHub (Dec 29, 2014):
You can try this:
@denydias commented on GitHub (Apr 11, 2015):
Works like a charm!
@bikashsharmabks commented on GitHub (Oct 31, 2015):
Hello,
I am trying to put log.io behind nginx server (1.8 version)
I tries out the above config but I get no response. But I do below config for nginx I get error Cannot '''
Here is my config
Anything that I am missing?
Thanks
Bikash
@tkt028 commented on GitHub (Dec 25, 2016):
Hi guys,
Do we have any update for this issue? I also need to serve log.io behind nginx proxy. Thank you very much!
Cheers,
Khon
@strannik19 commented on GitHub (Mar 15, 2017):
@hajimezhao in first line, the location directive, you are missing the part for socket.io. the original example uses
location ~* /(logio|socket\.io)/to match both /logio paths (what you will be typing into the address bar) and /socket.io (the js talked to the server with this url prefix).also, you need the rewrite rule to get rid of the logio prefix in the path when nginx fires off the requests to the logio web server running at http://127.0.0.1:28778:
rewrite ^/logio/(.*) /$1 break;so it should look like this:
@msmathers commented on GitHub (Jan 16, 2020):
Similar to the responses above, this nginx recipe seems to be the agreed-upon solution: https://stackoverflow.com/a/29232687