Commit b4a07d53 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'nginx_asset_path' into 'master'

Nginx asset path
parents 40f4ff22 64fad953
......@@ -82,7 +82,7 @@ server {
# See config/application.rb under "Relative url support" for the list of
# other files that need to be changed for relative url support
location ~ ^/(assets)/ {
root /home/git/gitlab/public;
root <%= @path %>/public;
gzip_static on; # to serve pre-gzipped version
expires max;
add_header Cache-Control public;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment