forked from Sunbird-RC/Admin-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
38 lines (33 loc) · 854 Bytes
/
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
server {
listen 80;
location / {
root /usr/share/nginx/html/admin;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
location /registry/ {
proxy_pass http://registry:8081/;
}
# location /claim-ms/ {
# proxy_pass http://claim-ms:8082/;
# }
#
# location /bucket/ {
# proxy_pass http://file-storage:9000/;
# }
#
# location /proxy/ {
# proxy_pass http://context-proxy-service:4400/proxy/;
# }
#
# location /public-key-service/ {
# proxy_pass http://public-key-service:3300/public-key-service/;
# }
location /auth/ {
proxy_pass http://keycloak:8080/auth/;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}