Restructuring docker project

This commit is contained in:
DomySh
2022-06-12 22:28:16 +02:00
parent 67e5014d78
commit cff484a976
58 changed files with 357 additions and 407 deletions

26
config/nginx.conf Executable file
View File

@@ -0,0 +1,26 @@
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;
proxy_pass http://unix:/tmp/react.sock;
}
location /api/ {
include uwsgi_params;
uwsgi_pass unix:/tmp/uwsgi.sock;
}
}
}