18 lines
481 B
Nginx Configuration File
18 lines
481 B
Nginx Configuration File
|
server {
|
||
|
listen 80;
|
||
|
|
||
|
location /groupe-service/ {
|
||
|
proxy_pass_request_headers on;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-Prefix '/groupe-service';
|
||
|
proxy_pass http://groupe-service:8080/;
|
||
|
}
|
||
|
|
||
|
location /student-service/ {
|
||
|
proxy_pass_request_headers on;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Forwarded-Prefix '/student-service';
|
||
|
proxy_pass http://student-service:8081/;
|
||
|
|
||
|
}
|
||
|
}
|