Display issue shiny app


I made a web page with shiny, the page is functional but I get problems. When I go to my page (on my page I put css) i get this image 1

When i refresh the page i get this: image 2

I have this problem with radio buttons: image 3


Sometimes when I reload the page I am disconnected from the server.

To access the shiny application I must first go through a nginx server where I set up a secure https connection and request a login and password with httpd then redirect to the shiny application.


run_as shiny;
#sanitize_errors off;disable_protocols xdr-streaming xhr-streaming ifram
e-eventsource iframe-htmlfile;
# Define a server that listens on port 3838
server {
  listen 3838;
  # Define a location at the base URL
  location / {
    # Host the directory of Shiny Apps stored in this directory
    site_dir /srv/shiny-server;
    # Log all Shiny output to files in this directory
    log_dir /var/log/shiny-server;
    # When a user visits the base URL rather than a particular applicati
    # an index of the applications available in this directory will be s
    directory_index on;
    simple_scheduler 15;
  # Test
  location /test {
    app_dir /usr/local/lib/R/site-library/test/app;
    log_dir /var/log/shiny-server;

My application is a package in which is a folder inst -> app -> app.R