Hi guys! I am having an issue with apps deployed with shinyproxy. After some short period of time when pc is disconnected from internet (like when laptop is with colosed lid for a minute) - app turns grey. When I click on the admin button - it is listed in the active proxies. I need to refresh the browser page and it loads the app from scratch again.
Is there a way to keep the app active in this case? My application.yml file starts with:
server:
servlet.session.timeout: 0
forward-headers-strategy: native
proxy:
port: 8080
title: …
logo-url: …
favicon-path: /home/ubuntu/favicon.ico
template-path: /home/ubuntu/templates/2col
heartbeat-rate: 10000
heartbeat-timeout: 3600000
container-wait-time: 30000
authentication: openid
openid:
…
admin-groups: …
docker:
url: http://localhost:2375
specs:
…
And the nginx configuration is:
server {
server_name ...;
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-Proto $scheme;
}
listen [::]:443 ssl;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/...;
ssl_certificate_key /etc/letsencrypt/live/...;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}
server {
listen 80;
listen [::]:80;
server_name ...;
location / {
return 301 YYY$request_uri;
}
}