[obs-commits] [openSUSE/open-build-service] 5eb11a: [api] Fix to work when hosted in non-root server d...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 5eb11ac98543449f59e09b55e6b801878670c00a https://github.com/openSUSE/open-build-service/commit/5eb11ac98543449f59e09b... Author: Oleg Girko <ol@infoserver.lv> Date: 2015-03-09 (Mon, 09 Mar 2015) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/source_controller.rb M src/api/app/views/layouts/webui/webui.html.erb M src/api/config/initializers/activexml.rb M src/api/config/options.yml.example M src/api/lib/activexml/transport.rb Log Message: ----------- [api] Fix to work when hosted in non-root server directory. This change allows OBS API and WebUI to be installed on a web server in a place other than document root, so its URL prefix has a non-empty pathname (like https://example.com/obs instead of https://obs.example.com). This is useful for those who can't have OBS and main site on different domains and buy separate X.509 certificates for them, or just can't afford to have separate IP addresses for them (please note that currently osc doesn't support TLS SNI). Signed-off-by: Oleg Girko <ol@infoserver.lv>
participants (1)
-
Oleg Girko