From f3ac99a84497868aded8ee7ec2822d1b12960fd7 Mon Sep 17 00:00:00 2001 From: Mateus Cruz Date: Sun, 4 Feb 2024 23:10:30 -0300 Subject: initial commit --- nginx.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nginx.conf (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..60b677f --- /dev/null +++ b/nginx.conf @@ -0,0 +1,21 @@ +events { + worker_connections 1000; +} + +http { + access_log off; + sendfile on; + + upstream api { + server api01:8080; + server api02:8080; + } + + server { + listen 9999; # Lembra da porta 9999 obrigatória? + + location / { + proxy_pass http://api; + } + } +} -- cgit v1.2.3