summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorMateus Cruz <mateuscolvr@gmail.com>2024-02-04 23:10:30 -0300
committerMateus Cruz <mateuscolvr@gmail.com>2024-02-04 23:10:57 -0300
commitf3ac99a84497868aded8ee7ec2822d1b12960fd7 (patch)
treea870e9bb38259e0641c282b2ba524ac9abe85346 /nginx.conf
initial commit
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf21
1 files changed, 21 insertions, 0 deletions
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;
+ }
+ }
+}