Nginx & Apache Config Generator
ProxyForge is a free, browser-based Nginx and Apache config generator for reverse proxies, WordPress, static sites and PHP-FPM, tested on real servers. Fill in the details on the left and copy the result on the right. It's one of five free tools, along with the Redirect, SSL / Let's Encrypt, Security Headers and Basic Protection generators.
Why ProxyForge
- Nginx and Apache in one place. One form for both servers. On Apache, choose a
.htaccessfile for shared hosting or a full virtual host for your own server. - Tested on real servers. The output was run on real Nginx 1.27 and Apache 2.4 servers during development, with
nginx -t,apachectl configtestand real requests, not just read over. How it's tested - Errors linked to fixes. Common errors link to tested fixes in the FAQ and guides like Nginx rewrite vs return 301, and every config ends with test-and-rollback steps.
- Free, no signup, runs in your browser. What you type isn't sent anywhere, and a shared link keeps your settings.
Most config generators produce something that looks right but breaks on a real server: a missing directive, one that isn't allowed in the file you put it in, or syntax a newer version has deprecated. The testing happened during development, not live each time you generate a config. See How to use ProxyForge for every setting and where the output goes.
How it works
Pick Nginx or Apache, and what you're setting up — a reverse proxy, WordPress, a static site, or a PHP-FPM app.
Fill in your domain and backend details. Toggle HTTPS, gzip, or WebSocket support as needed — the config updates live as you go.
Copy the result onto your server and test it before going live: nginx -t then reload on Nginx, or load a page and check the error log for Apache .htaccess. No signup, no accounts — everything runs in your browser.
Common errors: 502 Bad Gateway · App gets /apifoo instead of /api/foo · ProxyPass not allowed in .htaccess · Reload said OK, change didn't apply · Upload fails on Apache · Too many redirects behind Cloudflare
Deploying this on a server?
A couple of things you'll likely need:
Some links above are affiliate links — signing up through them may earn this site a small commission at no extra cost to you. See the privacy policy for details.