forked from noelsimbolon/simtix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
32 lines (25 loc) · 713 Bytes
/
nginx.conf
File metadata and controls
32 lines (25 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
events {
worker_connections 1024;
}
http {
resolver 127.0.0.11 valid=10s;
server {
listen 80;
location /api/client/ {
set $client_service simtix-client;
proxy_pass http://$client_service:8000;
}
location /api/ticketing/ {
set $ticketing_service simtix-ticketing;
proxy_pass http://$ticketing_service:3002;
}
location /api/payment/ {
set $payment_service simtix-payment;
proxy_pass http://$payment_service:3003;
}
location /static {
set $ticketing_service simtix-ticketing;
proxy_pass http://$ticketing_service:3002;
}
}
}