linuxserver / docker-ombi

GNU General Public License v3.0
160 stars 35 forks source link

Unable to set base url #6

Closed josevh closed 7 years ago

josevh commented 7 years ago

I'm running this behind a reverse proxy and would like to use /ombi to access ombi. However, on page load, I get redirected to /wizard instead of /ombi/wizard. There is no setting to set the base url.

Currently the docker image mentioned the ombi repo, uses an environment variable to pass the run options to the executable that allows setting the base url.

Link

-e RUN_OPTS="-base /ombi"

Would it be possible to do something similar? Is it already possible?

I am not familiar with writing docker scripts unfortunately.

tidusjar commented 7 years ago

Hey, you should only be hitting the /wizard/ URL on the first load of Ombi. After that you should never see it. Can you complete the wizard and then try?

CHBMB commented 7 years ago

There's a setting in the webui to alter the base URL after you set it up. No need for any environmental variables.

josevh commented 7 years ago

To be clear, accessing ombi was no issue when local. However for a completely remote install I wouldn't be able to access ombi except by exposing the port or setting the reverse proxy to access ombi at the root of the domain rather than a subdirectory.

aptalca commented 7 years ago

If you're trying to set it up while connected remotely, you can either set it up (initially) as a subdomain and then you can revert to the base url method. Or, you can use a vpn while you're setting it up.