summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
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;
+ }
+ }
+}