Publish SNO Dashboard on Internet

I am able to setup nginx reverse proxy server with SSL. below is the configuration with subdomain.

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name storj.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    
    location / {
       

        resolver 127.0.0.11 valid=30s;
        set $upstream_app storagenode;
        set $upstream_port 14002;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

        proxy_set_header Connection "";
        
    }

I used docker image " linuxserver/letsencrypt" to setup nginx with SSL.

1 Like