DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk6 min

ArchiveBox Behind Nginx: Configure the Reverse Proxy and BASE_URL

Set ArchiveBox’s BASE_URL to its public HTTPS address, keep it separate from BIND_ADDR, and verify Nginx targets the listener and port used by your deployed image.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a current ArchiveBox Docker deployment, make Nginx proxy requests to the ArchiveBox listener on port 5797 inside the container, and set BASE_URL to the exact public HTTPS address people use, such as https://archive.example.com. Keep the two values distinct: BASE_URL is the public canonical URL; BIND_ADDR is the local socket ArchiveBox listens on. Check your deployed image and port mapping before choosing the Nginx upstream, because older ArchiveBox examples use different ports.

Understand the three addresses involved

A reverse-proxy deployment has separate public and private connection details. Confusing them is a common cause of unreachable services and incorrect absolute links.

As an Amazon Associate I earn from qualifying purchases.

Setting or address What it means Example
BASE_URL ArchiveBox’s canonical public URL, used when it builds absolute links and redirects, among other functions. https://archive.example.com
BIND_ADDR The local address and port on which the ArchiveBox process listens. 0.0.0.0:5797 in the current Docker image
Nginx upstream The address Nginx can reach for the ArchiveBox service. Its value depends on whether Nginx and ArchiveBox share a host or Docker network and on the host-port mapping. Use the actual service name and container port on a shared Docker network, or the mapped host address and port where applicable.

The ArchiveBox configuration reference calls BASE_URL “The canonical public URL of your ArchiveBox instance.” Do not put your public domain in BIND_ADDR as a substitute.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set the public canonical URL and listener

Choose the canonical URL

Set BASE_URL to the exact public HTTPS URL visitors will use, including the scheme and hostname. For example, if Nginx serves ArchiveBox at https://archive.example.com, use that value—not an internal container name, LAN address, or HTTP upstream address.

#1 Best Overall
Sale
GMKtec G3S Mini PC Intel N95 Processor (Up to 3.4GHz) 8GB RAM 256GB M.2 SSD
  • 12th Intel Alder Lake N95 Processor – The GMKtec G3 S Mini PC is powered by the 12th Gen Intel N95 processor with 4 cores, 4 threads, 6MB cache and a burst frequency up to 3.4GHz. Compared with N100/N5105/N5100/N5095, the N95 delivers up to 36% overall performance improvement. Perfect for routine tasks, office work, and home entertainment, this compact mini desktop is more convenient than traditional bulky PCs.
  • 8GB RAM & 256GB SSD Storage – Pre-installed with 8GB DDR4 memory and a fast 256GB M.2 2242 SSD, the G3 S mini desktop offers quicker startup, smoother multitasking, and faster file transfers. Enjoy seamless performance whether you’re working on multiple applications, browsing, or streaming content.
  • Rich Interfaces & Connectivity – The G3 S mini computer comes equipped with USB 3.2 (up to 10Gbps), dual HDMI 2.0 (4K@60Hz), and a 3.5mm audio jack. With support for WiFi 5, Bluetooth 5.0, and Gigabit Ethernet (RJ45 1000MbE), it connects easily with monitors, projectors, printers, office equipment, and other peripherals, making it versatile for both home and business use.
  • Dual 4K Display Support – Featuring upgraded Intel UHD Graphics (up to 1000MHz), the G3 S supports 4K video playback and AV1 decoding for a smooth viewing experience. With dual HDMI outputs, you can connect two 4K@60Hz displays simultaneously, enabling efficient multitasking for work and entertainment.
  • GMKTEC WARRANTY - GMKtec offers a 3-year limited warranty (1 year replacement + 2 years parts replacement) for each mini PC, starting from the date of the purchase effective on all sales starting Oct. 2026. All defects due to design and workmanship are covered. With a professional after sales team always ready to attend to your needs, you can simply relax and enjoy your mini PC

ArchiveBox uses an explicitly set BASE_URL instead of the incoming Host header when building URLs. It also derives Django’s ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS from BASE_URL and SERVER_SECURITY_MODE. Avoid copying old examples that hard-code those separately without checking the settings for your deployment.

Choose the listener and proxy target

The current official Docker image starts ArchiveBox with archivebox server --init 0.0.0.0:5797; the service listens on port 5797 inside the container. The Docker image repository documents the current image. A host port can be mapped to a different number, so distinguish the container port from the host-side port when configuring Nginx.

The configuration reference gives 127.0.0.1:5797 as a loopback listener appropriate for a same-host proxy and 0.0.0.0:5797 for Docker networking or remote LAN access. Inside a container, binding only to 127.0.0.1 makes the service unreachable from outside that container. Select the listener that matches your network layout; do not expose a service more broadly than your deployment requires.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
GEEKOM A5 2027 Edition Mini PC, Ryzen 7 7730U, 16GB RAM, 256GB NVMe SSD
  • [15W Ryzen 7 Agentic PC for Everyday Workflows] Powered by the AMD Ryzen 7 7730U processor (8 Cores, 16 Threads), the GEEKOM A5 is built for sustained productivity. It doubles as your cloud-native Agentic AI assistant, seamlessly hosting cloud AI tasks, automating office workflows, and handling intelligent document summarization without complex local deployment. Smoothly manage Microsoft Office, dozens of browser tabs, heavy Excel spreadsheets, and remote learning throughout your workday.
  • [Smart Value Now, Expandable for Tomorrow] Equipped with 16GB RAM and a fast 256GB PCIe NVMe SSD for snappy daily performance, the A5 offers incredible value. Need more space later? It features dual-slot DDR4 RAM (upgradable to 64GB) and supports an M.2 SSD up to 4TB. With an extra M.2 2242 slot and 2.5" HDD bay for up to 10TB total storage, you get the flexibility to scale your storage seamlessly as your needs grow, beating soldered LPDDR solutions.
  • [Multi-Display Connectivity for Maximum Productivity] Create a complete workstation with support for up to four displays through Dual HDMI and Dual USB-C ports, including up to 8K output via USB-C. Stay connected with Wi-Fi 6, Bluetooth 5.4, a 2.5GbE LAN port, SD card reader, and multiple USB ports for fast networking, efficient multitasking, and seamless connectivity across all your devices.
  • [Built to Stay Cool, Quiet & Reliable] More than fast, the GEEKOM A5 is built to last. A reinforced one-piece all-metal internal frame enhances structural strength, while the upgraded IceBlast 3.0 cooling system improves cooling efficiency by up to 42% with up to 35% greater airflow for quieter operation. Backed by 339 reliability tests and a 72-hour full-load aging test, it's engineered for dependable long-term performance.
  • 🏢[Business-Ready, Compact & Efficient] Pre-installed OS, the GEEKOM A5 supports Wake-on-LAN, Scheduled Power On, and Group Policy, making deployment and remote management simple for businesses. Its ultra-compact 0.6L design fits neatly behind monitors or into space-limited workstations while delivering excellent power efficiency for home offices, front desks, and commercial environments.

Configure the proxy without mixing old port examples

  1. Identify the actual ArchiveBox image and deployment mapping. Check the Compose configuration or container configuration for the image version, listener, and any published host port.
  2. Make the ArchiveBox service reachable from Nginx. If both containers share a Docker network, use the ArchiveBox service’s network name and its container listener port. If Nginx runs on the host, use the host address and the port published by Docker. These are deployment choices; the correct upstream cannot be inferred from the public hostname alone.
  3. Configure Nginx to terminate HTTPS for the public hostname and proxy requests to that reachable upstream. Use the Nginx configuration method for your installation. The ArchiveBox sources establish its URL and listener settings but do not prescribe a complete Nginx location block or universal timeout and WebSocket directives.
  4. Set ArchiveBox’s canonical URL to the public HTTPS URL and make sure the configured certificate covers that hostname.
  5. Test the public URL and generated links. Check that the site loads over HTTPS and that redirects and absolute links use the public hostname and HTTPS scheme.

For Nginx Proxy Manager and other supported proxy choices, the current ArchiveBox Docker guide describes a first-run HTTPS wizard. It provides DNS, upstream, and certificate settings, checks public HTTPS URLs, then saves BASE_URL and SERVER_SECURITY_MODE. If you use that flow, follow its values for your deployment rather than combining them with unrelated legacy snippets.

Handle forwarded HTTPS and security mode

When BASE_URL is empty, the configuration reference describes deriving the request scheme and specifies trusting X-Forwarded-Proto for proxy-derived HTTPS. When you have set an explicit public BASE_URL, use that canonical HTTPS URL as the source of truth. Do not assume that changing the proxy’s upstream to HTTP should change the public URL to HTTP.

If your deployment uses safe-subdomains-fullreplay, explicitly pin BASE_URL. ArchiveBox says it is required for redirects in that mode and displays a misconfiguration banner when it is missing.

Choose certificate coverage for the host pattern

The HTTPS guidance distinguishes a single public host from ArchiveBox subdomains. A single-host setup needs a certificate for the BASE_URL host. If the security mode uses ArchiveBox subdomains, the guide describes a certificate covering that host and *.BASE_URL, usually obtained with DNS-01. It warns against on-demand TLS and individual certificates for snap-* hosts. A wildcard is not a universal requirement for every installation; match certificate coverage to the host pattern your deployment actually uses. See the ArchiveBox HTTPS guide.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BOSGAME E5 11 Pro Mini PC, AMD Ryzen 5300U 4C/ 8T, Business Home Office PC
  • 【AMD Ryzen 3 5300U CPU: Outperforms N150 & 3500U】 BOSGAME E5 mini PC is powered by the TSMC 7nm FinFET architecture AMD Ryzen 3 5300U processor (4 Cores, 8 Threads, up to 3.8GHz boost, 6MB total cache). Compared to low-end Intel N150 or 3500U chips which only have 4 single threads and throttle under load, the 5300U delivers over 30% faster multi-core speed. Run 30+ browser tabs, large Excel sheets, and Zoom meetings simultaneously without system lag.
  • 【8GB DDR4 RAM & 256GB NVMe SSD Storage】 Installed with high-speed 8GB DDR4 dual-channel memory and a fast 256GB M.2 2280 SSD, eliminating slow boot times and application loading delays. To accommodate growing data requirements, the upgradeable hardware design features dual SODIMM slots that allow you to expand memory up to 64GB RAM, ensuring smooth operation during heavy multitasking.
  • 【High-Capacity Dual M.2 SSD Storage Expansion】 Never worry about running out of space for your business files. In addition to the pre-installed 256GB system drive, the motherboard houses an extra empty internal M.2 2280 NVMe PCIe 3.0 slot. This allows you to easily add a second solid-state drive for up to an additional 2TB of storage capacity (upgrades not included) without needing to remove or reinstall the original operating system.
  • 【Radeon 6-Core Graphics & Triple 4K Displays】 Integrated with official AMD Radeon Graphics (6 Graphics Cores, 1500 MHz frequency) for casual gaming, photo editing, and crisp 4K media decoding. Featuring 1x HDMI 2.0 port, 1x DisplayPort, and 1x Full-Function Type-C port, the E5 outputs true 4K@60Hz resolution to three monitors at once. This multi-screen setup eliminates constant window-switching for traders, programmers, and office workers.
  • 【Dual 2.5GbE LAN Ports for Advanced Networking】 Experience fast wired network transmission speeds up to 2500Mbps without lagging or buffering. The integration of dual 2.5 Gigabit Ethernet ports (powered by Realtek RTL8125 controller) makes this compact computer an exceptional hardware choice for tech enthusiasts. Easily configure it into software routers, hardware firewalls (pfSense, OpnSense), home NAS servers, or local homelabs.

Verify the effective settings after changes

ArchiveBox configuration may come from archivebox config --set, ArchiveBox.conf, or process environment variables. Persisted settings and scoped configuration can take precedence over later environment changes. After editing a Compose environment variable or another setting source, inspect ArchiveBox’s effective configuration rather than assuming the new value took effect.

As a final check, confirm that BASE_URL is the public HTTPS address, the listener is reachable on the expected interface and port, and the public site’s redirects and absolute links use the intended host and scheme.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting common proxy problems

  • Nginx cannot connect to ArchiveBox: Check whether Nginx is targeting the correct network address and port. The current Docker image listens on container port 5797, but the published host port may differ. Also check whether ArchiveBox is bound to loopback inside its container; that prevents other containers from reaching it.
  • Links or redirects show an internal hostname or the wrong domain: Set BASE_URL to the exact public canonical URL, then verify the effective configuration. An explicit value takes precedence over the incoming Host header for URL building.
  • Links or redirects use HTTP despite public HTTPS: Verify the explicit BASE_URL includes https://. If relying on proxy-derived scheme handling with no explicit base URL, check the documented X-Forwarded-Proto trust behavior.
  • A deployment using safe-subdomains-fullreplay shows a configuration warning or redirects incorrectly: Set BASE_URL explicitly and ensure the certificate covers the host pattern required by the deployment.
  • Changing an environment variable appears to have no effect: Check for a persisted setting or scoped configuration that takes precedence, and inspect the effective ArchiveBox configuration.
  • A copied Nginx example points to port 8000 or 8098: Those ports appear in older documentation examples. Verify the actual image and mapping; do not treat an old port as the current Docker listener by default.

Or skip the browser setup

If your goal is to capture a website screenshot rather than run an ArchiveBox archive, ScreenshotNeo is a separate screenshot API—not a replacement for ArchiveBox or its reverse proxy. One GET request returns a screenshot or PDF. See the ScreenshotNeo API documentation.

Rank #4
Dell OptiPlex 7050 Micro Computer, Intel Quad Core i5-6500T up to 3.1GHz, 16G DDR4, 256G SSD, Windows 11 Pro 64 Bit (Renewed)
  • This Certified Refurbished product is tested and certified to look and work like new. The refurbishing process includes functionality testing, basic cleaning, inspection, and repackaging. The product ships with all relevant accessories, a minimum 90-day warranty, and may arrive in a generic box. Only select sellers who maintain a high-performance bar may offer Certified Refurbished products on Amazon.com.
  • Dell OptiPlex 7050 Micro Computer, Intel Quad Core i5-6500T up to 3.1GHz, 16G DDR4, 256G SSD.
  • Includes: USB Keyboard & Mouse, Microsoft office 30 days free trail.
  • Ports: 1 x RJ-45, 1 x HDMI, 1 x DP, 6 x USB 3.0.
  • 4K Support: Support 4K (3840x2160) Dual display, makes it easy to connect two monitors at the same time, and you can expand working Windows, mirror content, or expand a single window across multiple monitors.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and each response reports the page verdict and billing status. Its MCP server lets AI agents use take_screenshot, get_page_info, and capture_pdf. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 screenshots.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Sign up for ScreenshotNeo’s free plan.

Frequently Asked Questions

Do I need an external drive to put ArchiveBox behind Nginx?

No. An external drive is an optional place to store a collection on a separate persistent volume; it is not part of the reverse-proxy or base-URL configuration.

Can I use an IP address instead of a hostname for BASE_URL?

The cited ArchiveBox guidance defines BASE_URL as the canonical public URL but does not establish a universal IP-address setup. Use the public URL your deployment is configured to serve and ensure its HTTPS certificate matches that address.

Quick Recap

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.