Restore nginx config a little more.
This commit is contained in:
parent
6945f4a299
commit
26d57a648c
2 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ server {
|
||||||
## See config/application.rb under "Relative url support" for the list of
|
## See config/application.rb under "Relative url support" for the list of
|
||||||
## other files that need to be changed for relative url support
|
## other files that need to be changed for relative url support
|
||||||
location ~ ^/(assets)/ {
|
location ~ ^/(assets)/ {
|
||||||
|
root /home/git/gitlab/public;
|
||||||
gzip_static on; # to serve pre-gzipped version
|
gzip_static on; # to serve pre-gzipped version
|
||||||
expires max;
|
expires max;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
|
|
|
@ -152,6 +152,7 @@ server {
|
||||||
## See config/application.rb under "Relative url support" for the list of
|
## See config/application.rb under "Relative url support" for the list of
|
||||||
## other files that need to be changed for relative url support
|
## other files that need to be changed for relative url support
|
||||||
location ~ ^/(assets)/ {
|
location ~ ^/(assets)/ {
|
||||||
|
root /home/git/gitlab/public;
|
||||||
gzip_static on; # to serve pre-gzipped version
|
gzip_static on; # to serve pre-gzipped version
|
||||||
expires max;
|
expires max;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
|
|
Loading…
Reference in a new issue