forum-app/frontend/conf/nginx.conf

22 lines
367 B
Nginx Configuration File

events {
worker_connections 1024;
}
http {
server {
listen 8000 default_server;
listen [::]:8000 default_server;
root /app;
index index.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
location /api/ {
proxy_pass http://backend:8000/;
}
}
}