mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-05-29 15:35:59 +00:00
add autoconfig and autodiscover hosts to stalwart proxy block
This commit is contained in:
+6
-2
@@ -123,12 +123,16 @@
|
||||
}
|
||||
|
||||
############## stalwart ##############
|
||||
{$STALWART_DOMAIN} {
|
||||
{$STALWART_DOMAIN}, {$STALWART_AUTOCONFIG_DOMAIN}, {$STALWART_AUTODISCOVER_DOMAIN} {
|
||||
request_body {
|
||||
max_size 4048MB
|
||||
}
|
||||
|
||||
reverse_proxy http://stalwart:8080
|
||||
reverse_proxy http://stalwart:8080 {
|
||||
header_up X-Forwarded-Proto {http.request.scheme}
|
||||
header_up X-Forwarded-For {http.request.remote_host}
|
||||
header_up Host {http.request.host}
|
||||
}
|
||||
}
|
||||
|
||||
############## textarea ##############
|
||||
|
||||
Reference in New Issue
Block a user