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;
|
|
|
|
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-05-25 04:54:20 +00:00
|
|
|
location /uploads/ {
|
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
|
|
|
}
|