forum-app/frontend/conf/nginx.conf

22 lines
366 B
Nginx Configuration File
Raw Normal View History

2024-04-06 21:50:21 +00:00
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;
}
2024-04-06 22:14:17 +00:00
location /api {
proxy_pass http://backend:8000/;
}
2024-04-06 21:50:21 +00:00
}
}