sda
This commit is contained in:
parent
6e083a3014
commit
024ce2eb75
1 changed files with 11 additions and 3 deletions
|
|
@ -51,15 +51,23 @@
|
||||||
|
|
||||||
# Nextcloud AIO - Optimized for WebDAV and Folder Uploads
|
# Nextcloud AIO - Optimized for WebDAV and Folder Uploads
|
||||||
cloud.netgrimoire.com {
|
cloud.netgrimoire.com {
|
||||||
# No CrowdSec here for now to prevent 404s on rapid-fire WebDAV requests
|
request_body {
|
||||||
|
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}
|
||||||
|
|
||||||
transport http {
|
transport http {
|
||||||
response_header_timeout 300s
|
response_header_timeout 600s
|
||||||
dial_timeout 30s
|
dial_timeout 30s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue