Skip to content

Instantly share code, notes, and snippets.

Chun-Jie Liu chunjie-sam-liu

View GitHub Profile
@chunjie-sam-liu
chunjie-sam-liu / shiny-server-apache2.conf
Last active Feb 6, 2018
shiny server and apache2 connection
View shiny-server-apache2.conf
<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/
You can’t perform that action at this time.