forked from github/plane
Update nginx.conf
This commit is contained in:
parent
ed42050549
commit
2a19ea253f
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user