Skip to content
This repository was archived by the owner on Nov 14, 2018. It is now read-only.

add multiple domains reverse SSL proxy support#449

Merged
DeepDiver1975 merged 1 commit into
owncloud-archive:masterfrom
herbrechtsmeier:ssl-proxy
Jan 31, 2013
Merged

add multiple domains reverse SSL proxy support#449
DeepDiver1975 merged 1 commit into
owncloud-archive:masterfrom
herbrechtsmeier:ssl-proxy

Conversation

@herbrechtsmeier

Copy link
Copy Markdown
Contributor

Add support for a reverse proxy that handles multiple domains via different
web roots (https://proxy.tld/domain.tld/owncloud) and only forwards SSL
connections unencrypted to the web server.

As the reverse proxy web root is transparent for the web server the
REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace
the direct use of this _SERVER variables with function calls. Additionally
it adds a Sabre request backend that extends the Sabre_HTTP_Request to use
the same functions.

@herbrechtsmeier

Copy link
Copy Markdown
Contributor Author

This depends on owncloud/core#1099

Except the user_oauth change I have test it with and without proxy. I haven't update the OpenID application as I can not test them.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@owncloud-bot retest this please

@herbrechtsmeier

Copy link
Copy Markdown
Contributor Author

@karlitschek I have replace all occurrence of REQUEST_URI and SCRIPT_NAME outside of 3rdparty code.

Add support for a reverse proxy that handles multiple domains via different
web roots (https://proxy.tld/domain.tld/owncloud) and only forwards SSL
connections unencrypted to the web server.

As the reverse proxy web root is transparent for the web server the
REQUEST_URI and SCRIPT_NAME need manual adjustments. This patch replace
the direct use of this _SERVER variables with function calls. Additionally
it adds a Sabre request backend that extends the Sabre_HTTP_Request to use
the same functions.
DeepDiver1975 added a commit that referenced this pull request Jan 31, 2013
add multiple domains reverse SSL proxy support
@DeepDiver1975 DeepDiver1975 merged commit c782dd9 into owncloud-archive:master Jan 31, 2013
@herbrechtsmeier herbrechtsmeier deleted the ssl-proxy branch February 23, 2013 12:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants