blob: 0c4b9217bbdd23a2771bd244081cb308b8cccd43 (
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
|
server {
listen 80;
listen [::]:80;
server_name env.taler.net;
rewrite ^ https://$host$request_uri? permanent;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name env.taler.net;
include conf.d/talerssl;
root /dev/null;
ssi on;
location ~ ^/(?<user>[a-zA-Z0-9-_]+)/exchange/admin {
proxy_pass http://unix:/home/$user/sockets/exchange-admin.http;
proxy_redirect off;
proxy_set_header Host $host;
}
location ~ ^/(?<user>[a-zA-Z0-9-_]+)/exchange {
proxy_pass http://unix:/home/$user/sockets/exchange.http:/;
proxy_redirect off;
proxy_set_header Host $host;
}
location ~ ^/(?<user>[a-zA-Z0-9-_]+)/ {
uwsgi_pass unix:/home/$user/sockets/landing.uwsgi;
include /etc/nginx/uwsgi_params;
}
include conf.d/favicon_robots;
}
|