1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00
kopano-docker/zpush/kweb.cfg
Felix Bartels e2251036b3
add kweb config for z-push (#419)
* add kweb config for z-push
* clean out apache bits from z-push container and use kopano_php as the base
* fix commander tests for current php version
* globally define log location for php-fpm error_log
* move port in outer kweb config
* rewrite other spellings of the autodiscover url
* fix port in startup test
* force plain output to buildkit
* reorder z-push dockerfile
2020-07-21 12:48:33 +02:00

28 lines
568 B
INI

:9080 {
log stdout
errors stderr
# healthcheck
status 200 /status
rewrite /Microsoft-Server-ActiveSync /Microsoft-Server-ActiveSync/index.php
fastcgi2 /Microsoft-Server-ActiveSync /run/php/php7.3-fpm.sock php {
without /Microsoft-Server-ActiveSync/
root /usr/share/z-push/
read_timeout 3605s
}
# Case insensitive path rewrite.
rewrite / {
regexp (?i)^/Autodiscover/Autodiscover.xml
to /Autodiscover/autodiscover.php
}
fastcgi2 /Autodiscover/ /run/php/php7.3-fpm.sock php {
without /Autodiscover/
root /usr/share/z-push/autodiscover
}
}