<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Setting Up a Reverse Proxy (Nginx) for Bambuddy]]></title><description><![CDATA[<p dir="auto">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.</p>
<h2>Nginx Configuration</h2>
<pre><code class="language-nginx">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;
    }
}
</code></pre>
<h2>Important Notes</h2>
<ul>
<li><strong>WebSocket support is required</strong> — The <code>Upgrade</code> and <code>Connection</code> headers are essential for real-time printer status updates and camera streaming.</li>
<li><strong>Increase <code>client_max_body_size</code></strong> — 3MF files can be large. 500M is a safe value for print farms.</li>
<li><strong>Increase timeouts</strong> — Some operations (firmware updates, large uploads) take time.</li>
</ul>
<h2>SSL Certificate with Let's Encrypt</h2>
<pre><code class="language-bash">sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d bambuddy.yourdomain.com
</code></pre>
<hr />
<p dir="auto">For more details, check the <a href="https://wiki.bambuddy.cool" rel="nofollow ugc">Documentation</a>.</p>
]]></description><link>https://forum.bambuddy.cool/topic/17/setting-up-a-reverse-proxy-nginx-for-bambuddy</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 15:42:45 GMT</lastBuildDate><atom:link href="https://forum.bambuddy.cool/topic/17.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Apr 2026 13:06:42 GMT</pubDate><ttl>60</ttl></channel></rss>