Skip to content

Commit 182e780

Browse files
author
Nik
committed
AIS Etappe 1: fix ngnix config
1 parent fcb3d00 commit 182e780

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎nginx/conf.d/default.conf‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ server {
161161
proxy_set_header X-Real-IP $remote_addr;
162162
}
163163

164+
location /bar/health {
165+
proxy_pass http://bar:3000/health;
166+
proxy_set_header Host $host;
167+
proxy_set_header X-Real-IP $remote_addr;
168+
}
169+
164170
location /bar/api-docs/ {
165171
proxy_pass http://bar-backend:3000/api-docs/;
166172
proxy_set_header Host $host;
@@ -188,6 +194,12 @@ server {
188194
proxy_set_header X-Real-IP $remote_addr;
189195
}
190196

197+
location /ais/health {
198+
proxy_pass http://ais:3000/health;
199+
proxy_set_header Host $host;
200+
proxy_set_header X-Real-IP $remote_addr;
201+
}
202+
191203
location /ais/api-docs/ {
192204
proxy_pass http://ais:3000/api-docs/;
193205
proxy_set_header Host $host;

0 commit comments

Comments
 (0)