<VirtualHost *:80>
    ServerName n8n.ileadtechnology.com
    ServerAlias www.n8n.ileadtechnology.com

    # Enable reverse proxy to the Docker container
    ProxyPreserveHost On
    ProxyPass / http://127.0.0.1:5678/
    ProxyPassReverse / http://127.0.0.1:5678/

    <Location />
        Require all granted
    </Location>

    # Optional: Logging
    ErrorLog /var/log/httpd/n8n_error.log
    CustomLog /var/log/httpd/n8n_access.log combined
</VirtualHost>

