[GH-ISSUE #202] [bug] Always redirects to HOST IP for practically no reason #112

Closed
opened 2026-02-26 09:36:33 +03:00 by kerem · 2 comments
Owner

Originally created by @Merith-TK on GitHub (Dec 6, 2019).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/202

Do you want to request a feature or report a bug?
BUG

What is the current behavior?
When i visit office.example.com, where i have a reverse proxy pointing to the LAN ip of the docker server 192.168.0.115:80, it always attempts a 302 Redirect FROM office.example.com to 192.168.0.115:80

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  1. docker run -i -t -d -p 80:80 onlyoffice/documentserver
  2. reverse proxy port to a URL (clearnet)
  3. go to clearnet URL

What is the expected behavior?
to beable to access documentserver on `office.merith.tk

Did this work in previous versions of DocumentServer?
unknown

DocumentServer Docker tag:
unknown?!
Host Operating System:
Archlinux

Originally created by @Merith-TK on GitHub (Dec 6, 2019). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/202 **Do you want to request a *feature* or report a *bug*?** BUG **What is the current behavior?** When i visit `office.example.com`, where i have a reverse proxy pointing to the LAN ip of the docker server `192.168.0.115:80`, it always attempts a 302 Redirect FROM `office.example.com` to `192.168.0.115:80` **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** 1) `docker run -i -t -d -p 80:80 onlyoffice/documentserver` 2) reverse proxy port to a URL (clearnet) 3) go to clearnet URL **What is the expected behavior?** to beable to access documentserver on `office.merith.tk **Did this work in previous versions of DocumentServer?** unknown **DocumentServer Docker tag:** unknown?! **Host Operating System:** Archlinux
kerem closed this issue 2026-02-26 09:36:33 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Dec 6, 2019):

@agolybev Please take a look

<!-- gh-comment-id:562521922 --> @ShockwaveNN commented on GitHub (Dec 6, 2019): @agolybev Please take a look
Author
Owner

@Merith-TK commented on GitHub (Dec 6, 2019):

the fix i found was by making the reverse proxy "transperant", But the issue still remains as a possible issue.

<!-- gh-comment-id:562646270 --> @Merith-TK commented on GitHub (Dec 6, 2019): the fix i found was by making the reverse proxy "transperant", But the issue still remains as a possible issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#112
No description provided.