mirror of
https://github.com/sibprogrammer/owp.git
synced 2026-04-25 15:35:58 +03:00
[GH-ISSUE #59] Absolute URLs #36
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/owp#36
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 @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.
@javacraft commented on GitHub (Apr 12, 2015):
nvm, been a while since I dabbled with RoR. I found
base_urlinconfig/initializers/app_config.rb. Setting it to the public URL seems to work. For example, ifhttps://control.example.com/ovzpanelproxies OWP, then settingbase_urlto the same fixes broken links. Apologies for the bother :)