If you want to access Bambuddy over HTTPS or via a domain name, you'll need a reverse proxy. Here's a working Nginx configuration.
Nginx Configuration
server {
listen 80;
server_name bambuddy.yourdomain.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name bambuddy.yourdomain.com;
ssl_certificate /etc/letsencrypt/live/bambuddy.yourdomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/bambuddy.yourdomain.com/privkey.pem;
client_max_body_size 500M;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_send_timeout 300;
location / {
proxy_pass http://127.0.0.1:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Important Notes
- WebSocket support is required — The
UpgradeandConnectionheaders are essential for real-time printer status updates and camera streaming. - Increase
client_max_body_size— 3MF files can be large. 500M is a safe value for print farms. - Increase timeouts — Some operations (firmware updates, large uploads) take time.
SSL Certificate with Let's Encrypt
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d bambuddy.yourdomain.com
For more details, check the Documentation.





