Skip to content

Commit

Permalink
try reconnect false
Browse files Browse the repository at this point in the history
The shiny server docs https://docs.posit.co/shiny-server/#reconnect suggest that the default reconnect of true will immediately reap user's sessions upon disconnect. Setting to false may give users 15 seconds to refresh/reconnect their session.
  • Loading branch information
afwillia authored Sep 20, 2024
1 parent 2f66b02 commit cfd7a36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shiny-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ server {
# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will NOT be shown.
directory_index off;

# Don't automatically reap user's session upon disconnect
reconnect false;

}
}

0 comments on commit cfd7a36

Please sign in to comment.