forked from bitwarden/server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreverse-proxy.conf.example
More file actions
35 lines (28 loc) · 997 Bytes
/
Copy pathreverse-proxy.conf.example
File metadata and controls
35 lines (28 loc) · 997 Bytes
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
# Begin API Service
upstream api_loadbalancer {
# Add additional API services here uniquely identified by their port
# Below assumes two services running on the docker host machine on ports 4000 and 4002
server host.docker.internal:4000;
server host.docker.internal:4002;
}
server {
listen 4100; # The port clients will connect to for the Api, must be exposed via Docker
location / {
proxy_pass http://api_loadbalancer;
}
}
# End API Service
# Begin Identity Service
upstream identity_loadbalancer {
# Add additional Identity services here uniquely identified by their port
# Below assumes two services running on the docker host machine on ports 33656 and 33658
server host.docker.internal:33656;
server host.docker.internal:33658;
}
server {
listen 33756; # The port clients will connect to for the Identity, must be exposed via Docker
location / {
proxy_pass http://identity_loadbalancer;
}
}
# End Identity Service