mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Another attempt to fix caddyfile config
This commit is contained in:
@@ -24,7 +24,9 @@
|
|||||||
|
|
||||||
# UI Server routes
|
# UI Server routes
|
||||||
handle / {
|
handle / {
|
||||||
body_size_limit 100mb
|
limits {
|
||||||
|
request_body 100mb
|
||||||
|
}
|
||||||
reverse_proxy repo-web-ui:5000 {
|
reverse_proxy repo-web-ui:5000 {
|
||||||
import repo_common_proxy
|
import repo_common_proxy
|
||||||
}
|
}
|
||||||
@@ -32,7 +34,9 @@
|
|||||||
|
|
||||||
# API routes
|
# API routes
|
||||||
handle /api/* {
|
handle /api/* {
|
||||||
body_size_limit 100mb
|
limits {
|
||||||
|
request_body 100mb
|
||||||
|
}
|
||||||
reverse_proxy repo-web-api:5000 {
|
reverse_proxy repo-web-api:5000 {
|
||||||
import repo_common_proxy
|
import repo_common_proxy
|
||||||
}
|
}
|
||||||
@@ -40,7 +44,9 @@
|
|||||||
|
|
||||||
# Large file upload API routes
|
# Large file upload API routes
|
||||||
handle_path /api/records/*/draft/files/*/content {
|
handle_path /api/records/*/draft/files/*/content {
|
||||||
body_size_limit 250gb
|
limits {
|
||||||
|
request_body 250gb
|
||||||
|
}
|
||||||
reverse_proxy repo-web-api:5000 {
|
reverse_proxy repo-web-api:5000 {
|
||||||
import repo_common_proxy
|
import repo_common_proxy
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|||||||
Reference in New Issue
Block a user