mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-02-23 05:22:16 +00:00
Merge branch 'notification'
This commit is contained in:
commit
0d62fa7fa3
|
@ -7,15 +7,21 @@ http:// https:// {
|
|||
lb_policy header X-Forwarded-For
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
reverse_proxy /seafdav* seafile-server:8080 {
|
||||
header_up Destination https:// http://
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
handle_path /seafhttp* {
|
||||
uri strip_prefix seafhttp
|
||||
reverse_proxy seafile-server:8082 {
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
}
|
||||
reverse_proxy /seafdav* seafile-server:8080 {
|
||||
header_up Destination https:// http://
|
||||
trusted_proxies private_ranges
|
||||
handle_path /notification* {
|
||||
uri strip_prefix notification
|
||||
reverse_proxy seafile-server:8083 {
|
||||
trusted_proxies private_ranges
|
||||
}
|
||||
}
|
||||
reverse_proxy /media/* seahub-media:80 {
|
||||
lb_policy header X-Forwarded-For
|
||||
|
|
|
@ -47,8 +47,10 @@ ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/controller.log &&\
|
|||
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/ccnet.log &&\
|
||||
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/gc.log &&\
|
||||
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/seafdav.log &&\
|
||||
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/notification-server.log &&\
|
||||
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/seafile-monitor.log &&\
|
||||
echo "TLS_REQCERT allow" >> /etc/ldap/ldap.conf
|
||||
|
||||
EXPOSE 8080 8082 8001
|
||||
EXPOSE 8001 8080 8082 8083
|
||||
|
||||
CMD ["/scripts/start.sh"]
|
||||
|
|
Loading…
Reference in a new issue