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

Need a hand?

Stuck? Ask an engineer.

Talk to an engineer
Prefer to call?

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.