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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2c6a8525
Commit
2c6a8525
authored
Dec 18, 2015
by
Kamil Trzcinski
Committed by
James Edwards-Jones
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refer to server_name with regex
parent
e9e8a2f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
doc/pages/administration.md
doc/pages/administration.md
+8
-3
No files found.
doc/pages/administration.md
View file @
2c6a8525
...
@@ -80,11 +80,16 @@ See the relevant documentation at <http://doc.gitlab.com/omnibus/settings/pages.
...
@@ -80,11 +80,16 @@ See the relevant documentation at <http://doc.gitlab.com/omnibus/settings/pages.
with
with
```
```
server_name
*.gitlab.io
;
server_name
~^(?<group>.*)\.gitlabpages\.com$
;
```
```
You must be add `*` in front of your domain, this is required to catch all
You must be extra careful to not remove the backslashes. If you are using
subdomains of `gitlab.io`.
a subdomain, make sure to escape all dots (`.`) with a backslash (\).
For example `pages.gitlab.io` would be:
```
server_name ~^(?<group>.*)\.pages\.gitlab\.io$;
```
1.
Restart Nginx and GitLab:
1.
Restart Nginx and GitLab:
...
...
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