Adds nginx configuration

This is the nginx configuration on the stat ec2 instance
This commit is contained in:
Jared Dunbar 2021-07-24 21:51:14 +00:00
parent 14aa4d1bf4
commit 940b3e54bd
1 changed files with 24 additions and 0 deletions

24
nginx.conf Normal file
View File

@ -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;
}
}
}