Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6c8444f2
Commit
6c8444f2
authored
Sep 30, 2013
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4902 from misilot/missing-config-unicorn.rb
Add hints for relative URL installation
parents
4deb4575
e99701fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
config/application.rb
config/application.rb
+2
-2
config/gitlab.yml.example
config/gitlab.yml.example
+2
-2
config/unicorn.rb.example
config/unicorn.rb.example
+9
-0
No files found.
config/application.rb
View file @
6c8444f2
...
...
@@ -70,11 +70,11 @@ module Gitlab
config
.
assets
.
version
=
'1.0'
# Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is
no longer
supported
# WARNING: This feature is
known to work, but un
supported
# Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT']
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT']
= "/gitlab"
#
# config.relative_url_root = "/gitlab"
end
...
...
config/gitlab.yml.example
View file @
6c8444f2
...
...
@@ -20,11 +20,11 @@ production: &base
https: false
# Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is
no longer
supported
# WARNING: This feature is
known to work, but un
supported
# Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT']
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT']
= "/gitlab"
#
# relative_url_root: /gitlab
...
...
config/unicorn.rb.example
View file @
6c8444f2
...
...
@@ -8,6 +8,15 @@
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
# documentation.
# Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is known to work, but unsupported
# Note that three settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
#
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
# Use at least one worker per core if you're on a dedicated server,
# more will usually help for _short_ waits on databases/caches.
worker_processes 2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment