Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix openproject-apache-example.conf assets location

Oliver Günther93514a58a4c8
diff --git a/docs/installation-and-operations/installation/packaged/openproject-apache-example.conf b/docs/installation-and-operations/installation/packaged/openproject-apache-example.conf
index 7df78addcca..4d42b178828 100644
--- a/docs/installation-and-operations/installation/packaged/openproject-apache-example.conf
+++ b/docs/installation-and-operations/installation/packaged/openproject-apache-example.conf
@@ -9,7 +9,7 @@
#
SSLEngine On
-# SSLCertificateChainFile /etc/apache2/ssl/cdc_ca.cert.pem
+ # SSLCertificateChainFile /etc/apache2/ssl/cdc_ca.cert.pem
SSLCertificateFile /etc/letsencrypt/live/openproject.example.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/openproject.example.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/openproject.example.com/fullchain.pem
@@ -26,6 +26,14 @@
ServerAdmin [email protected]
DocumentRoot /opt/openproject/public
+ # Don't pass assets through proxy but deliver them through apache
+ ProxyPass /assets/ !
+ <Location /assets/>
+ # Avoid using mtime or inode information for ETag
+ FileETag Size
+ ExpiresActive On ExpiresDefault "access plus 1 year"
+ </Location>
+
# Proxy requests to localhost:6000 (puma)
ProxyRequests off
# Forward the original host name to the proxy
@@ -64,14 +72,6 @@
</IfModule>
</Directory>
- # Don't pass assets through proxy but deliver them through apache
- ProxyPass /assets/ !
- <Location /assets/>
- # Avoid using mtime or inode information for ETag
- FileETag Size
- ExpiresActive On ExpiresDefault "access plus 1 year"
- </Location>
-
# Send expiry headers for assets, that carry an asset id. Assuming, an asset
# id is a unix timestamp, which is currently a 10 digit integer. This might
# change in the far future.