load different assets when run gitlab in different port
Created by: poc7667
Because my gitlab's layout is totally broken,
So I decided run by manually in stead of ``
At first , my gitlab works fine, but crashed when I do rake assets:clean assets:precompile cache:clear RAILS_ENV=production
, service gitlab restart
I used the Nginx to forward port 1987 to my gitlab app folder.
So I could access my gitlab site by http://localhost:1987
Now, I disabled the Nginx to forward the port 1987 to my gitlab app.
but rails s -p 1987 -e production
stills shows the broken layout
if I run the server on other ports it works correctly excepts can not load avatar image
rails s -p 1999 -e production