Commit 64fad953 authored by Bazoud's avatar Bazoud

Fix nginx asset path

parent b2f86eb9
......@@ -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