0
我們碼頭工人,墨盒安裝rstudio並配置它的工作如下爲rstudio配置nginx的代理通過ssh隧道
https://support.rstudio.com/hc/en-us/articles/200552326-Running-RStudio-Server-with-a-Proxy
爲了使用子URI:example.com/rstudio
。這是一種工作情況,而服務器example.com
位於防火牆後面。要訪問網站背後的牆上我通常喜歡隧道
ssh -L 8000:example.com:80 other_server
當我這樣做對example.com
我可以加載像example.com/test.html
頁。但是,當我嘗試localhost:8000/rstudio
時,它會將我映射回example.com/rstudio
。
有什麼我可以添加到鏈接的文檔頁面,使通過隧道工作的配置?
你能解釋一下你的意思嗎?>在你的本地PC上添加example.com = 127.0.0.1?添加到什麼? – abalter
將它添加到您的本地主機文件,對不起 – Valentin