From 940b3e54bdc60f0471d86e68bed53ca698f482c1 Mon Sep 17 00:00:00 2001 From: Jared Dunbar Date: Sat, 24 Jul 2021 21:51:14 +0000 Subject: [PATCH] Adds nginx configuration This is the nginx configuration on the stat ec2 instance --- nginx.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..ffd2654 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,24 @@ +worker_processes 1; + +events { + worker_connections 1024; +} + + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + keepalive_timeout 65; + + server { + listen 80; + server_name localhost; + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_pass http://127.0.0.1:5000; + } + } +}