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