# Set FILES_PUBLIC_URL=files.note.example.com in RustPad. # RustPad listens on FILES_PORT=3001 with attachment routes only. server { listen 443 ssl; server_name files.note.example.com; # Add your ssl_certificate and ssl_certificate_key configuration here. location / { proxy_pass http://rustpad:3001; proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto https; } }