# nginx and Apache config generator

URL: https://datacenter.lk/nginx-apache-config-generator.php
Last updated: 2026-12-05

Generate an nginx server block or Apache virtual host for a static site or a reverse proxy. Free, no sign-up, runs in your browser.

## Questions

**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.
