|
4 | 4 | }
|
5 | 5 |
|
6 | 6 | aam.localhost:80, aam.localhost:443 {
|
7 |
| - handle_path /auth* { |
8 |
| - reverse_proxy keycloak:8080 { |
9 |
| - header_up Host {host} |
10 |
| - } |
11 |
| - } |
| 7 | + handle_path /auth* { |
| 8 | + reverse_proxy keycloak:8080 { |
| 9 | + header_up Host {host} |
| 10 | + } |
| 11 | + } |
12 | 12 |
|
13 |
| - handle_path /db/couchdb* { |
14 |
| - reverse_proxy db-couch:5984 |
15 |
| - } |
| 13 | + handle_path /db/couchdb* { |
| 14 | + reverse_proxy db-couch:5984 |
| 15 | + } |
16 | 16 |
|
17 |
| - handle_path /db* { |
18 |
| - reverse_proxy replication-backend:5984 |
19 |
| - } |
| 17 | + handle_path /db* { |
| 18 | + reverse_proxy replication-backend:5984 |
| 19 | + } |
20 | 20 |
|
21 |
| - handle_path /accounts-backend* { |
22 |
| - # activate this line instead of the existing if your account-backend is running locally |
23 |
| - # reverse_proxy http://host.docker.internal:3000 |
| 21 | + handle_path /accounts-backend* { |
| 22 | + # activate this line instead of the existing if your account-backend is running locally |
| 23 | + # reverse_proxy http://host.docker.internal:3000 |
24 | 24 |
|
25 |
| - # activate this line when account-backend is running as docker container (default) |
26 |
| - reverse_proxy accounts-backend:3000 |
27 |
| - } |
| 25 | + # activate this line when account-backend is running as docker container (default) |
| 26 | + reverse_proxy accounts-backend:3000 |
| 27 | + } |
28 | 28 |
|
29 |
| - handle_path /replication-backend* { |
30 |
| - reverse_proxy replication-backend:5984 |
31 |
| - } |
| 29 | + handle_path /replication-backend* { |
| 30 | + reverse_proxy replication-backend:5984 |
| 31 | + } |
32 | 32 |
|
33 |
| - handle_path /api* { |
34 |
| - # reverse_proxy http://host.docker.internal:9000 # local running app |
35 |
| - reverse_proxy aam-backend-service:8080 # docker container |
36 |
| - } |
| 33 | + handle_path /api* { |
| 34 | + # reverse_proxy http://host.docker.internal:9000 # local running app |
| 35 | + reverse_proxy aam-backend-service:8080 # docker container |
| 36 | + } |
37 | 37 |
|
38 |
| - handle_path /sqs* { |
39 |
| - reverse_proxy sqs:4984 |
40 |
| - } |
| 38 | + handle_path /sqs* { |
| 39 | + reverse_proxy sqs:4984 |
| 40 | + } |
41 | 41 |
|
42 |
| - handle_path /rabbitmq/* { |
43 |
| - reverse_proxy rabbitmq:15672 |
44 |
| - } |
| 42 | + handle_path /rabbitmq/* { |
| 43 | + reverse_proxy rabbitmq:15672 |
| 44 | + } |
45 | 45 |
|
46 | 46 | handle_path /nominatim/* {
|
47 | 47 | reverse_proxy https://nominatim.openstreetmap.org
|
48 | 48 | }
|
49 | 49 |
|
50 |
| - handle_path /maildev/* { |
51 |
| - reverse_proxy maildev:1080 |
52 |
| - } |
| 50 | + handle_path /maildev/* { |
| 51 | + reverse_proxy maildev:1080 |
| 52 | + } |
53 | 53 |
|
54 |
| - handle_path /hello { |
55 |
| - respond "Hello. This is aam-digital-reverse-proxy." 200 |
56 |
| - } |
| 54 | + handle_path /hello { |
| 55 | + respond "Hello. This is aam-digital-reverse-proxy." 200 |
| 56 | + } |
57 | 57 |
|
58 | 58 | # redirect all other traffic to the locally running angular app (on host machine)
|
59 | 59 | # on linux this may need some additional configuration. See README.md
|
60 |
| - handle_path /* { |
61 |
| - reverse_proxy http://host.docker.internal:4200 |
62 |
| - } |
| 60 | + handle_path /* { |
| 61 | + reverse_proxy http://host.docker.internal:4200 |
| 62 | + } |
63 | 63 | }
|
0 commit comments