-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathelocker.conf
48 lines (37 loc) · 1.24 KB
/
elocker.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
server {
listen 80;
location / {
root /usr/share/nginx/html;
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 /public-key-service/ {
# proxy_pass http://public-key-service:3300/public-key-service/;
# }
location /auth/ {
proxy_pass http://keycloak:8080/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;
}
# location /proxy/ {
# proxy_pass http://context-proxy-service:4400/proxy/;
# }
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}