shinyproxy: Problems building off rocker-org images (instead of openanalytics/r-base)
Using this application.yml file and the nginx config below I’m able to see the landing page at http://165.227.184.97/, but it can’t find the appropriate web assets (e.g., bootstrap).
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name localhost;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Protocol $scheme;
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}
Not sure where to look to investigate (I’m not very familiar with Java/Spring), so any pointers would be much appreciated!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Documentation on https://www.shinyproxy.io/ has now been updated to consistently use the equivalent of [“R”, “-e”, “shiny::runApp(port=3838, host=‘0.0.0.0’)”] - the example configuration inside the ShinyProxy repository will also be updated with the next release.