# HG changeset patch # User Marcin Kuzminski # Date 2017-08-18 12:29:52 # Node ID a0db74fd316b2228c8ff0d38ae5c9767b8bc815c # Parent a04ecb8dd0b113e6a33541d3349d30c981ebc3d0 docs: updated Apache documentation for serving static files diff --git a/docs/admin/apache-conf-example.rst b/docs/admin/apache-conf-example.rst --- a/docs/admin/apache-conf-example.rst +++ b/docs/admin/apache-conf-example.rst @@ -40,8 +40,17 @@ Below config if for an Apache Reverse Pr ServerName rhodecode.myserver.com ServerAlias rhodecode.myserver.com + ## Skip ProxyPass the _static to backend server + #ProxyPass /_static ! + ## serve static files by Apache, recommended for performance - #Alias /_static /home/ubuntu/.rccontrol/community-1/static + #Alias /_static/rhodecode /home/ubuntu/.rccontrol/community-1/static + + ## Allow Apache to access the static files in this directory + # + # AllowOverride none + # Require all granted + # RequestHeader set X-Forwarded-Proto "https"