Apache Sling > Sling CMS > Administration > Sling CMS Apache Web Server Setup

Sling CMS Apache Web Server Setup

To set up Apache Web Server to proxy requests to Sling CMS, you can add a configuration similar to the one below:

<VirtualHost *:80>
   ServerName cms.sling.apache.org
   DocumentRoot /var/www/vhosts/sling-cms

   ProxyPass /.well-known !
   ProxyPass / http://localhost:8080/
   ProxyPassReverse / http://localhost:8080/
</VirtualHost>

This allows you to put a layer in front of Sling CMS to enable additional security checks, provide caching and use a friendly URL.