Free nginx and Apache config generator
Generate an nginx server block or Apache virtual host for a static site or a reverse proxy.
Runs in your browser. Nothing you type is sent to us · free, no sign-up
nginx and Apache config generator
Loading the tool
071 577 0488, any hour, in Sinhala or English.
How to read the result
Choose nginx or Apache, a static/PHP site or a reverse proxy, and your domain, and the generator writes a server block or virtual host to start from. Test it before reloading: nginx -t or apachectl configtest.
Questions people ask
Does the config include SSL?
It includes the settings for HTTPS. Get the certificate itself with certbot or your host's free SSL, then point the config at the certificate files.
Where do I put the file?
nginx: /etc/nginx/sites-available/ (linked into sites-enabled) or /etc/nginx/conf.d/. Apache: /etc/apache2/sites-available/ or /etc/httpd/conf.d/, depending on the distribution.
Is this tool free?
Yes, free with no sign-up, and it runs entirely in your browser.
14More Utilities tools
- Password generatorStrong random passwordsOpen →
- Base64 encoder and decoderEncode and decodeOpen →
- URL encoder and decoderPercent-encode textOpen →
- HTML entities encoderEscape and unescapeOpen →
- Hash generatorMD5, SHA-1, SHA-256 and moreOpen →
- htpasswd generatorBasic-auth linesOpen →
- QR code generatorSVG QR codesOpen →
- UUID generatorRandom v4 UUIDsOpen →
- JWT decoderHeader, payload and expiryOpen →
- JWT generatorSign an HS256 tokenOpen →
- Regex testerLive matches and groupsOpen →
- Text diff checkerCompare two textsOpen →
- Unix timestamp converterUnix time to datesOpen →
- Password breach checkerSeen in a data breach?Open →