Skip to content
Snippets Groups Projects
Commit 946cec62 authored by Drew Blessing's avatar Drew Blessing
Browse files

Merge branch 'redirect_permanent' into 'master'

Permanently redirect doc to docs



See merge request !35
parents 68513ffe 6dc0eb7c
No related branches found
No related tags found
1 merge request!35Permanently redirect doc to docs
# Nginx config file
 
server {
listen 80;
server_name doc.gitlab.com;
return 301 $scheme://docs.gitlab.com$request_uri;
}
server {
listen 80; ## listen for ipv4; this line is default and implied
 
root /srv/doc-gitlab-com;
index README.html index.html index.htm;
 
server_name doc.gitlab.com;
server_name docs.gitlab.com;
 
location / {
try_files $uri $uri/ =404;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment