28 lines
829 B
Nginx Configuration File
28 lines
829 B
Nginx Configuration File
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
server {
|
|
listen 8086;
|
|
listen [::]:8086;
|
|
server_name localhost;
|
|
|
|
location /event_service/ {
|
|
proxy_pass http://event_service:8081/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-Proto $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Prefix $scheme;
|
|
}
|
|
|
|
location /session_service/ {
|
|
proxy_pass http://session_service:8082/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-Proto $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Prefix $scheme;
|
|
}
|
|
|
|
}
|
|
} |