All tags
Start here · reverse-proxyFix a 502 Bad Gateway in Nginx Proxy Manager, with a checklist that finds the cause10 steps · 14 min read · Nginx Proxy Manager users seeing a 502Start the guide reverse-proxy
Narrow down
Guides2
- GuideFix a 502 Bad Gateway in Nginx Proxy Manager, with a checklist that finds the cause10 steps · 14 min read
- GuidePut Nextcloud behind Nginx Proxy Manager with HTTPS and the right headersPut Nextcloud behind Nginx Proxy Manager with HTTPS and the right headers, and tell Nextcloud it sits behind a proxy so the admin warnings disappear.6 steps · 6 min read
Network19
- Tip
caddy reverse-proxy --from :2016 --to :9000caddy reverse-proxy sets up a proxy without a CaddyfileStarts a Caddy reverse proxy from the command line, with no config file.3 Dec 2026 - Tip
caddy fmt --diff Caddyfilecaddy fmt --diff shows what a Caddyfile cleanup would changeCompares a Caddyfile with its formatted version and shows the differences, without touching the file.3 Dec 2026 - Tip
proxy_cache app;Proxy_cache_lock lets one request fill an empty cache while others waitProtect a slow backend when many visitors ask for an expired page at once.1 Dec 2026 - Tip
map $http_upgrade $connection_upgrade {A map on $http_upgrade lets one nginx location serve WebSockets and normal requestsSends Connection upgrade only when the client asks for it, and close otherwise.30 Nov 2026 - Tip
proxy_intercept_errors on;proxy_intercept_errors lets nginx show its own error page for a failing backendReplaces backend 502, 503 and 504 responses with a friendly page that nginx serves itself.30 Nov 2026 - Tip
proxy_redirect http://localhost:3000/ /app/;Nginx proxy_redirect fixes redirects that point to the backend's own addressRewrites Location headers from a backend so redirects stay on your public domain.30 Nov 2026 - Tip
sub_filter 'http://127.0.0.1:8081/' 'https://example.com/app/';Nginx sub_filter rewrites text in a proxied page on the flyReplaces strings in HTML from a backend, like hardcoded internal URLs, before it reaches the browser.30 Nov 2026 - Tip
upstream app {Nginx proxy_next_upstream retries a failed request on the next backendTells nginx which errors should send a request on to another upstream server.30 Nov 2026 - Tip
proxy_connect_timeout 3s;A short nginx proxy_connect_timeout fails over fast when a backend is downStops nginx from waiting a full minute to connect to a backend that is not there.30 Nov 2026 - Tip
proxy_hide_header X-Powered-By;Nginx proxy_hide_header strips backend headers like X-Powered-ByRemoves headers that reveal backend software versions before responses reach the client.30 Nov 2026 - Tip
proxy_cache app;Proxy_cache_use_stale keeps nginx serving pages while the backend is downServes the last cached copy of a page when the backend errors out or is busy refreshing.30 Nov 2026 - Tip
allow 192.0.2.0/24;An IP-only access list in Nginx Proxy Manager is simple security for a home appLimits a proxy host to addresses you list, without asking for any password.30 Nov 2026 - Tip
server {A default_server with return 444 drops requests for unknown host namesCloses the connection for requests whose host name matches none of your sites.28 Nov 2026 - Tip
upstream app_backend {Nginx keepalive in an upstream block reuses connections to your backendKeeps a few connections from nginx to the backend open for reuse instead of reconnecting per request.27 Nov 2026 - Tip
upstream app {Nginx upstream max_fails and fail_timeout drop a dead backend automaticallyTakes a failing backend out of rotation for a while and uses a spare server meanwhile.24 Nov 2026 - Tip
proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme;Nginx proxy_set_header Host $host stops backends from seeing 127.0.0.1Forwards the original host name and scheme to the application behind the proxy.24 Nov 2026 - Tip
location /app/ { proxy_pass http://127.0.0.1:3000; } # backend sees /app/pageA trailing slash on nginx proxy_pass changes the path the backend seesShows how the slash at the end of proxy_pass strips or keeps the location prefix.24 Nov 2026 - Tip
set_real_ip_from 192.168.1.0/24;Tell Nginx which proxy to trust, so your apps see the real client IPMakes nginx read the real visitor address from a header when another proxy sits in front.1 Oct 2026 - Tip
Prowlarr Server: http://prowlarr:9696/prowlarrPut the URL base in Prowlarr's server address when you use a reverse proxyReminds you to include the URL base in the Prowlarr app addresses so synced indexers keep working.20 Jun 2026
Home Assistant1
Docker1
Media1
Nothing matches.