You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
484 B
30 lines
484 B
worker_processes 1; |
|
|
|
events { worker_connections 1024; } |
|
|
|
http { |
|
|
|
sendfile on; |
|
|
|
upstream app { |
|
server app:3001; |
|
server prometheus:9090; |
|
server grafana:3000; |
|
} |
|
|
|
server { |
|
listen 80; |
|
|
|
location / { |
|
proxy_pass http://app; |
|
} |
|
|
|
# location /prometheus { |
|
# proxy_pass http://prometheus; |
|
# } |
|
|
|
# location /grafana { |
|
# proxy_pass http://grafana; |
|
# } |
|
} |
|
} |