我試圖配置透明代理svn鏡像,如here所述,但使用https獲得困難時間。
目前的設置是:
如何使Apache代理http請求https:
- 主服務器是公開的,並通過HTTPS保護。
- 從服務器位於nginx反向代理之後,通過http服務,但nginx使用https保護所有外部流量。
所以我設法安裝svnsync的在這個奇怪的設置工作,但writethruproxy掙扎:
mod_proxy_http不喜歡HTTPS的另一端,並說這樣的:
[debug] proxy_util.c(1525): [client ccc.ccc.ccc.ccc] proxy: *: found reverse proxy worker for https://xxx.xxx.xxx.xxx:yyyy/svn/my_repo/!svn/me
[debug] mod_proxy.c(1020): Running scheme https handler (attempt 0)
[debug] mod_proxy_http.c(1954): proxy: HTTPS: declining URL https://xxx.xxx.xxx.xxx:yyyy/svn/my_repo/!svn/me (mod_ssl not configured?)
[debug] mod_proxy_ajp.c(677): proxy: AJP: declining URL https://xxx.xxx.xxx.xxx:yyyy/svn/my_repo/!svn/me
[debug] mod_proxy_ftp.c(842): proxy: FTP: declining URL https://xxx.xxx.xxx.xxx:yyyy/svn/my_repo/!svn/me - not ftp:
[debug] mod_proxy_connect.c(100): proxy: CONNECT: declining URL https://xxx.xxx.xxx.xxx:yyyy/svn/my_repo/!svn/me
[warn] proxy: No protocol handler was valid for the URL /svn/brisbane/!svn/me. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
TLDR:是有什麼辦法可以配置mod_ssl和mod_proxy_http將http流量轉發到https?
- TIA
請詳細說明TLDR的意見 – dldnh 2012-04-02 13:22:45
的竅門就是加上 SSLProxyEngine on – user1308092 2012-04-02 15:04:18