[GH-ISSUE #59] Absolute URLs #36

Closed
opened 2026-02-27 22:07:20 +03:00 by kerem · 1 comment
Owner

Originally created by @javacraft on GitHub (Apr 12, 2015).
Original GitHub issue: https://github.com/sibprogrammer/owp/issues/59

Great application! Unfortunately, the use of absolute URLs (e.g. /ext/resources/css...) does not make this an easy webapp to put behind a reverse proxy. Certainly there are workarounds such as mode_proxy_html, though sad to have to use it on a modern day application.

No promises, but I will try to tweak it myself once I have more time to reconsider this webapp.

Originally created by @javacraft on GitHub (Apr 12, 2015). Original GitHub issue: https://github.com/sibprogrammer/owp/issues/59 Great application! Unfortunately, the use of absolute URLs (e.g. /ext/resources/css...) does not make this an easy webapp to put behind a reverse proxy. Certainly there are workarounds such as mode_proxy_html, though sad to have to use it on a modern day application. No promises, but I will try to tweak it myself once I have more time to reconsider this webapp.
kerem closed this issue 2026-02-27 22:07:20 +03:00
Author
Owner

@javacraft commented on GitHub (Apr 12, 2015):

nvm, been a while since I dabbled with RoR. I found base_url in config/initializers/app_config.rb. Setting it to the public URL seems to work. For example, if https://control.example.com/ovzpanel proxies OWP, then setting base_url to the same fixes broken links. Apologies for the bother :)

<!-- gh-comment-id:92007719 --> @javacraft commented on GitHub (Apr 12, 2015): nvm, been a while since I dabbled with RoR. I found `base_url` in `config/initializers/app_config.rb`. Setting it to the public URL seems to work. For example, if `https://control.example.com/ovzpanel` proxies OWP, then setting `base_url` to the same fixes broken links. Apologies for the bother :)
Sign in to join this conversation.
No labels
pull-request
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/owp#36
No description provided.