18 lines
492 B
Nginx Configuration File
18 lines
492 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
|
|
location /client/ {
|
|
proxy_pass http://client_service:8000/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
}
|
|
|
|
location /order/ {
|
|
proxy_pass http://order_service:8001/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
}
|
|
}
|