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

Permanently redirect doc to docs

parent 68513ffe
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