DAS_2023_1/tepechin_kirill_lab_3/nginx-conf/nginx.conf

18 lines
478 B
Nginx Configuration File
Raw Normal View History

2023-12-12 03:34:05 +04:00
server {
listen 80;
location /opop-service/ {
proxy_pass_request_headers on;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Prefix '/opop-service';
proxy_pass http://opop-service:8080/;
}
location /document-service/ {
proxy_pass_request_headers on;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Prefix '/document-service';
proxy_pass http://document-service:8081/;
}
}