2023-03-09 15:19:12 +00:00
|
|
|
events { }
|
|
|
|
|
2023-02-21 06:01:43 +00:00
|
|
|
|
2023-03-09 15:19:12 +00:00
|
|
|
http {
|
|
|
|
sendfile on;
|
2023-02-21 06:01:43 +00:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
root /www/data/;
|
|
|
|
access_log /var/log/nginx/access.log;
|
2023-06-06 13:45:42 +00:00
|
|
|
|
|
|
|
client_max_body_size ${FILE_SIZE_LIMIT};
|
|
|
|
|
2023-02-21 06:01:43 +00:00
|
|
|
location / {
|
2023-03-09 15:19:12 +00:00
|
|
|
proxy_pass http://planefrontend:3000/;
|
2023-02-21 06:01:43 +00:00
|
|
|
}
|
2023-03-09 15:19:12 +00:00
|
|
|
|
2023-02-21 06:01:43 +00:00
|
|
|
location /api/ {
|
|
|
|
proxy_pass http://planebackend:8000/api/;
|
|
|
|
}
|
2023-03-09 15:19:12 +00:00
|
|
|
|
2023-06-06 13:45:42 +00:00
|
|
|
location /${BUCKET_NAME}/ {
|
2023-05-26 05:39:59 +00:00
|
|
|
proxy_pass http://plane-minio:9000/uploads/;
|
2023-05-25 04:54:20 +00:00
|
|
|
}
|
2023-02-21 06:01:43 +00:00
|
|
|
}
|
2023-03-09 15:19:12 +00:00
|
|
|
}
|