# WHM/cPanel Apache SSL vhost include for api.asho.agency.
# Add these directives inside the SSL VirtualHost include, not inside a new <VirtualHost> block.

ProxyRequests Off
ProxyPreserveHost On
SSLProxyEngine On

RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
RequestHeader set X-Forwarded-Host "api.asho.agency"

ProxyPass "/" "http://127.0.0.1:4401/" retry=0 timeout=300
ProxyPassReverse "/" "http://127.0.0.1:4401/"
