blob: 8ac0ea2dd6608412d13c7ad5e5a8c9a982071ef2 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
server {
listen 443 ssl;
listen [::]:443 ssl; ## listen for ipv4; this line is default and implied
# listen [::]:80 default_server ipv6only=on; ## listen for ipv6
# Temporary, as this is doesn't do i18n
root /home/docbuilder/landing/docs/;
# Make site accessible from http://localhost/
server_name docs.taler.net
www.docs.taler.net;
include conf.d/talerssl;
location / {
autoindex off;
ssi off;
# ssi_last_modified on;
}
location /merchant/frontend {
root /home/docbuilder/merchant-frontend-examples;
}
location ~ ^/(api|_static) {
root /home/docbuilder/api/_build/html;
rewrite ^/api[/]*$ /api/index.html last;
rewrite ^/api[/]+([^/]+)$ /$1 break;
}
location /current/merchant-backend {
root /var/www/merchant/doc/;
rewrite (/current/merchant-backend)/(.*) /$2 break;
}
location /current/merchant-shop/php {
root /var/www/merchant-frontend-examples/php/doc/;
rewrite (/current/merchant-shop/php)/(.*) /$2 break;
}
location /current/merchant-shop/python {
root /var/www/merchant-frontend-examples/python/doc/;
rewrite (/current/merchant-shop/python)/(.*) /$2 break;
}
include conf.d/favicon_robots;
}
|