Skip to content

Apache Reverse Proxy Snippets

If Apache reverse proxy is not working, check these settings.

Example

apache
Header set Access-Control-Allow-Origin "*"
SSLProxyEngine On

ProxyPass / http://www.source-site.com/
ProxyPassReverse / http://www.source-site.com/

<Proxy *>
    Require all granted
</Proxy>

Modules

Enable proxy, proxy_http, headers, and ssl.

bash
sudo a2enmod proxy proxy_http headers ssl
sudo systemctl reload apache2

Released under internal 12SSL documentation guidelines.