
The following firewall profiles (from sudo ufw status) are set up - Nginx HTTP, OpenSSH, 3838 and 80. Nginx: configuration file /etc/nginx/nf test is successful Nginx: the configuration file /etc/nginx/nf syntax is ok The nginx configuration test appears to be successful: # as directory, then fall back to displaying a 404.

# First attempt to serve request as file, then Proxy_set_header Connection $connection_upgrade # Add index.php to the list if you are using PHP There is no SSL/TLS certificate from certbot added and I'm not sure whether this is an issue. The $http_upgrade and $connection_upgrade is stored in the /etc/nginx/nf file. Note this this is SSL/TLS certificate enabled and cannot be disabled (it will automatically revert to " even when " is specified).īelow are the relevant details of the /etc/nginx/sites-enabled/default file which I modified based on the instructions from this post. Below are the details (I'm not sure whether I need a DNS record in Netlify and Lightsail though).

I have a DNS record added in Netlify for which points to the Lightsail instance static IP address. I have a DNS Zone record added in order to link to my Shiny Server on the Lightsail instance - see details below: I can successfully access the Shiny Server via and associated Shiny apps I've deployed. Assume 123.45.67.89 from this point onwards. This has a Shiny Server installed and a static IP address assigned.

However, I have changed the name servers to point to Netlify as I deployed my website through the blogdown R package in Netlify. Note that I have a purchased a custom domain from GoDaddy. Here are the pertinent configuration arrangements. I am desperate at this point and would appreciate any advice. I am new to nginx and am trying to configure a reverse proxy to a Shiny Server (Open) that I have successfully implemented on an AWS Lightsail Instance. I've posted this on Stack Overflow and hoping someone can help me here.
