# Example Apache reverse-proxy for cPanel → Next.js (PM2).
# Copy as `.htaccess` in the domain/subdomain document root (not always
# the Next.js project folder — often public_html or a subdomain folder).
#
# Requires: mod_rewrite, mod_proxy, mod_proxy_http
# Change 5000 if your app uses another PORT in ecosystem.config.cjs

DirectoryIndex disabled

RewriteEngine On
RewriteRule ^(.*)$ http://localhost:7000/$1 [P,L]
