Docker container changes

This commit is contained in:
DomySh
2022-06-12 18:50:57 +02:00
parent 3139cbf288
commit e5e6ca6098
12 changed files with 54 additions and 296 deletions

27
backend/config/nginx.conf Executable file
View File

@@ -0,0 +1,27 @@
worker_processes 5; ## Default: 1
pid /var/run/nginx.pid;
user nobody nogroup;
events {
worker_connections 1024;
}
http{
server {
listen 80;
server_name _;
location / {
include proxy_params;
proxy_pass http://frontend:3000/;
}
location /api/ {
include proxy_params;
proxy_pass http://127.0.0.1:8080;
}
}
}