server { # listen 443 ssl http2; # listen [::]:443 ssl http2; # # server_name whatever.tld; # app running on localhost with the port hardcoded in main.rs location /secret-santa/ { proxy_pass http://localhost:3067/; } # SSL config... }