Docker container changes
This commit is contained in:
27
backend/config/nginx.conf
Executable file
27
backend/config/nginx.conf
Executable 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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user