plane/nginx/nginx.conf

21 lines
314 B
Nginx Configuration File
Raw Normal View History

2023-04-21 23:37:13 +00:00
events {
}
http {
2023-04-21 23:37:13 +00:00
sendfile on;
2023-04-21 23:37:13 +00:00
server {
listen 80;
root /www/data/;
access_log /var/log/nginx/access.log;
location / {
proxy_pass http://plane_app:3000/;
}
2023-04-21 23:37:13 +00:00
location /api/ {
proxy_pass http://plane_api:8000/api/;
}
2023-04-21 23:37:13 +00:00
}
}