ZX
This commit is contained in:
parent
024ce2eb75
commit
207483f64c
1 changed files with 4 additions and 11 deletions
|
|
@ -51,23 +51,16 @@
|
||||||
|
|
||||||
# Nextcloud AIO - Optimized for WebDAV and Folder Uploads
|
# Nextcloud AIO - Optimized for WebDAV and Folder Uploads
|
||||||
cloud.netgrimoire.com {
|
cloud.netgrimoire.com {
|
||||||
request_body {
|
# No CrowdSec here for now to prevent 404s on rapid-fire WebDAV requests
|
||||||
max_size -1
|
|
||||||
}
|
|
||||||
|
|
||||||
reverse_proxy http://nextcloud-aio-apache:11000 {
|
reverse_proxy http://nextcloud-aio-apache:11000 {
|
||||||
header_up Host {host}
|
header_up Host {host}
|
||||||
header_up X-Real-IP {remote_host}
|
header_up X-Real-IP {remote_host}
|
||||||
header_up X-Forwarded-For {remote_host}
|
header_up X-Forwarded-For {remote_host}
|
||||||
|
header_up X-Forwarded-Proto {scheme}
|
||||||
# Hardcoding https is essential for AIO behind a proxy
|
|
||||||
header_up X-Forwarded-Proto https
|
|
||||||
|
|
||||||
# Essential for WebDAV folder operations
|
|
||||||
header_up Destination {http.request.header.Destination}
|
header_up Destination {http.request.header.Destination}
|
||||||
|
|
||||||
transport http {
|
transport http {
|
||||||
response_header_timeout 600s
|
response_header_timeout 300s
|
||||||
dial_timeout 30s
|
dial_timeout 30s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue