2024-05-17 10:52:05 +05:30
|
|
|
(plane_proxy) {
|
2024-10-21 17:47:17 +05:30
|
|
|
request_body {
|
|
|
|
|
max_size {$FILE_SIZE_LIMIT}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
reverse_proxy /spaces/* space:3000
|
|
|
|
|
reverse_proxy /god-mode/* admin:3000
|
|
|
|
|
reverse_proxy /api/* api:8000
|
|
|
|
|
reverse_proxy /auth/* api:8000
|
|
|
|
|
reverse_proxy /live/* live:3000
|
|
|
|
|
reverse_proxy /{$BUCKET_NAME} plane-minio:9000
|
|
|
|
|
reverse_proxy /{$BUCKET_NAME}/* plane-minio:9000
|
|
|
|
|
reverse_proxy /* web:3000
|
2024-04-26 17:41:25 +05:30
|
|
|
}
|
2024-05-17 10:52:05 +05:30
|
|
|
|
|
|
|
|
{
|
2024-10-21 17:47:17 +05:30
|
|
|
email {$CERT_EMAIL:admin@example.com}
|
|
|
|
|
acme_ca {$CERT_ACME_CA}
|
|
|
|
|
{$CERT_ACME_DNS}
|
|
|
|
|
servers {
|
|
|
|
|
timeouts {
|
|
|
|
|
read_body 600s
|
|
|
|
|
read_header 30s
|
|
|
|
|
write 600s
|
|
|
|
|
idle 600s
|
|
|
|
|
}
|
|
|
|
|
max_header_size 25MB
|
|
|
|
|
client_ip_headers X-Forwarded-For X-Real-IP
|
|
|
|
|
trusted_proxies static {$TRUSTED_PROXIES:0.0.0.0/0}
|
|
|
|
|
}
|
|
|
|
|
log {
|
|
|
|
|
output {$LOG_OUTPUT:stdout}
|
|
|
|
|
level {$LOG_LEVEL:INFO}
|
|
|
|
|
}
|
2024-05-17 10:52:05 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{$SITE_ADDRESS} {
|
2024-10-21 17:47:17 +05:30
|
|
|
import plane_proxy
|
|
|
|
|
}
|