diff --git a/conf/apache-vhost.conf b/conf/apache-vhost.conf index 6221d35f..1a84e7f7 100644 --- a/conf/apache-vhost.conf +++ b/conf/apache-vhost.conf @@ -12,5 +12,7 @@ Order deny,allow Allow from all +# Alias value may be some messy path, within python libs. +# You may want to use "find $VIRTUAL_ENV -path */ihatemoney*/static" to find it. Alias /static/ /path/to/ihatemoney/ihatemoney/static/ diff --git a/conf/nginx.conf b/conf/nginx.conf index 34b75b43..0fe26f02 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,6 +3,8 @@ server { keepalive_timeout 5; location /static/ { + # Alias value may be some messy path, within python libs. + # You may want to use "find $VIRTUAL_ENV -path */ihatemoney*/static" to find it. alias /path/to/app/ihatemoney/static/; } location / {