mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 14:08:55 +00:00
@@ -3,8 +3,6 @@ title: Rancher 2.0 Documentation
|
|||||||
shortTitle: Rancher 2.0
|
shortTitle: Rancher 2.0
|
||||||
insertOneSix: true
|
insertOneSix: true
|
||||||
weight: 1
|
weight: 1
|
||||||
aliases:
|
|
||||||
- /docs/rancher/v2.0/en/quick-start-guide/
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Rancher 2.0 Documentation
|
# Rancher 2.0 Documentation
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Quick Start
|
title: Quick Start
|
||||||
weight: 25
|
weight: 25
|
||||||
aliases: [/docs/rancher/v2.0/en/quick-start-guide]
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# Quick Start Guide
|
# Quick Start Guide
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
map_hash_bucket_size 256;
|
map_hash_bucket_size 256;
|
||||||
map $request_uri $redirect_uri {
|
map $request_uri $redirect_uri {
|
||||||
|
~^/docs/rancher/v2.0/(.*)$ /docs/rancher/v2.x/$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
absolute_redirect off;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|||||||
Reference in New Issue
Block a user