Update nginx.conf

This commit is contained in:
Narayana 2023-03-07 02:34:13 +05:30
parent ed42050549
commit 2a19ea253f

View File

@ -2,10 +2,25 @@ upstream plane {
server localhost:80;
}
events {
worker_connections 1024;
}
worker_processes 1;
error_log /var/log/nginx/error.log;
server_tokens off;
access_log /var/log/nginx/access.log;
http {
sendfile on;
upstream django {
server django_container:8000;
}
upstream react {
server react_container:3000;
}
server {
listen 80;
root /www/data/;
@ -24,3 +39,4 @@ server {
root /usr/share/nginx/html;
}
}
}