2022-06-12 22:28:16 +02:00
|
|
|
worker_processes 5; ## Default: 1
|
|
|
|
|
pid /var/run/nginx.pid;
|
|
|
|
|
|
|
|
|
|
user nobody nogroup;
|
|
|
|
|
|
|
|
|
|
events {
|
|
|
|
|
worker_connections 1024;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http{
|
|
|
|
|
server {
|
|
|
|
|
listen $NGINX_PORT;
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
include proxy_params;
|
2022-06-13 10:59:05 +02:00
|
|
|
proxy_pass http://unix:/execute/react.sock;
|
2022-06-12 22:28:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location /api/ {
|
|
|
|
|
include uwsgi_params;
|
2022-06-13 10:59:05 +02:00
|
|
|
uwsgi_pass unix:/execute/uwsgi.sock;
|
2022-06-12 22:28:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
2022-06-11 21:57:50 +02:00
|
|
|
}
|