-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnginx.conf
50 lines (44 loc) · 1.36 KB
/
nginx.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
server {
listen 80;
location /registry/ {
proxy_pass http://registry:8081/;
}
location /ulp-bff/ {
proxy_pass http://bff_service:3000/;
}
location /bulk-issuance/ {
proxy_pass http://bulk_issuance:3007/;
}
location /identity/ {
proxy_pass http://identity:3332/;
}
location /cred-ms/ {
proxy_pass http://credential:3331/;
}
location /cred-schema/ {
proxy_pass http://schema:3333/;
}
location /rc-verification/ {
proxy_pass http://rc-verification:182/;
}
location /rc-wallet/ {
proxy_pass http://rc-wallet:181/;
}
location /rc-registration-portal/ {
proxy_pass http://rc-registration-portal:183/;
}
location /auth/ {
proxy_pass http://keycloak:18080/auth/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}