This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost> | |
# add by Chun-Jie Liu (mailto:chunjie-sam-liu@foxmail.com), for shiny server deployment | |
# shiny server config /etc/shiny-server/shiny-server.conf | |
# shiny site_dir and log_dir in the shiny-server.conf file | |
# configuration below is using apache to support shiny-server | |
RewriteEngine on | |
RewriteCond %{HTTP:Upgrade} !=websocket | |
RewriteRule /web/(.*) http://localhost:3838/$1 [P,L] | |
ProxyPass /web/ http://localhost:3838/ | |
ProxyPassReverse /web/ http://localhost:3838/ |