Difference between revisions of "Httpd"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* rstudio.conf | * rstudio.conf | ||
**<pre> | **<pre> | ||
− | |||
− | + | <VirtualHost *:80> | |
− | |||
− | |||
− | + | <Proxy *> | |
− | + | Allow from localhost | |
− | + | </Proxy> | |
+ | |||
+ | ProxyPass /rstudio/ http://localhost:8787/ | ||
+ | ProxyPassReverse /rstudio/ http://localhost:8787/ | ||
+ | RedirectMatch permanent ^/rstudio$ /rstudio/ | ||
+ | |||
+ | </VirtualHost> | ||
− | |||
</pre> | </pre> |
Revision as of 14:11, 17 July 2019
httpd.conf
Configuring reverse proxy
- mod_proxy - Multi-protocol proxy/gateway server
- rstudio.conf
<VirtualHost *:80>
<Proxy *> Allow from localhost </Proxy>
ProxyPass /rstudio/ http://localhost:8787/ ProxyPassReverse /rstudio/ http://localhost:8787/ RedirectMatch permanent ^/rstudio$ /rstudio/
</VirtualHost>