-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.conf
32 lines (32 loc) · 1021 Bytes
/
default.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
server {
listen 8080;
root /usr/share/nginx/html/;
index index.html;
error_page 403 /404.html;
location = /404.html {
internal;
}
location / {
try_files $uri $uri/ /404.html;
}
location ~* ^/content/sre/multi-tenant-operator(/(.*))?$ {
return 301 $scheme://docs.stakater.com/mto/$2;
}
location ~* ^/content/sre/tronador(/(.*))?$ {
return 301 $scheme://docs.stakater.com/tronador/$2;
}
location ~* ^/content/sre/secrets-management(/(.*))?$ {
return 301 $scheme://docs.stakater.com/secrets/$2;
}
location ~* ^/content/openshift-as-a-service(/(.*))?$ {
return 301 $scheme://docs.stakater.com/oaas/$2;
}
location = /content/sre/support/support.html {
return 301 $scheme://docs.stakater.com/saap/help/support/support.html;
}
location ~* ^/content(/.*)?$ {
return 301 $scheme://docs.stakater.com/saap/;
}
# redirects issued by nginx will be relative
absolute_redirect off;
}