Shiny app turned grey at startup after nginx configuration

Hi,
I managed to have the euler example shiny app working with default nginx configuration (on Ubuntu 16.04).
But by default, the user URL is in the form http://domain.tld:8080/app/euler

To have the URL http://domain.tld/app/euler, I added in nginx (/etc/nginx/sites-enabled/default) the proxy_pass statement :

location / {
    proxy_pass  http://127.0.0.1:8080/;
}

But now the euler app is immediatly turned grey after I launched it.

Anybody having the same problem ?

I use shinyproxy 2.1.0 under Ubuntu 16.04 and here is the end of the log :

2018-12-23 19:04:46.529  INFO 9686 --- [main] e.o.c.ContainerProxyApplication          : Started ContainerProxyApplication in 12.329 seconds (JVM running for 13.844)
2018-12-23 19:05:32.404  INFO 9686 --- [XNIO-2 task-1] io.undertow.servlet                      : Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-12-23 19:05:32.405  INFO 9686 --- [XNIO-2 task-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2018-12-23 19:05:32.445  INFO 9686 --- [XNIO-2 task-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 39 ms
2018-12-23 19:15:15.148  INFO 9686 --- [Thread-2] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5649fd9b: startup date [Sun Dec 23 19:04:36 UTC 2018]; root of context hierarchy
2018-12-23 19:15:15.156  INFO 9686 --- [Thread-2] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2018-12-23 19:15:15.158  INFO 9686 --- [Thread-2] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans
2018-12-23 19:15:15.171  INFO 9686 --- [Thread-2] io.undertow.servlet                      : Destroying Spring FrameworkServlet 'dispatcherServlet'

Hi @stephLH,

Probably your nginx is not yet configured to properly handle web socket traffic, see https://www.shinyproxy.io/security/#https-ssl-tls

Hope this helps!

Best,
Tobias

hi @tverbeke,
Thank you, I made a mixture of default nginx modified by certbot, and the one on the link you mentionned.
That works fine now !
I just need to find how to allow images in the certificate because I have a warning with images in the web page.
But I think the best solution is to remove the navbar.
Thanks again!
Stéphane

Hi @stephLH,

Excellent! You can always use local images as well using the logo-url field, see https://www.shinyproxy.io/configuration/#general

Best,
Tobias