Forum

Hiawatha with Nextcloud

hiawatha webserver - nextcloud
12 February 2019, 11:19
Hi,
I get error messages while synchronizing my data until the program crashes.
Small amounts of data are synchronized (300KB)
The login and connection with the client works without any problems.

hiawatha.conf:
# GENERAL SETTINGS
#
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log


# BINDING SETTINGS
# A binding is where a client can connect to.
#
Binding {
Port = 443
Interface = 0.0.0.0
TimeForRequest = 5
TLScertFile = /etc/hiawatha/tls/cert.pem
}

Binding {
Port = 80
Interface = 0.0.0.0
TimeForRequest = 5
}


# BANNING SETTINGS
# Deny service to clients who misbehave.
#
#BanOnGarbage = 3000
#BanOnMaxPerIP = 600
#BanOnMaxReqSize = 30
#BanOnInvalidURL = 60
#KickOnBan = yes
#RebanDuringBan = yes

FastCGIserver {
FastCGIid = PHP7
ConnectTo = /run/php/php7.2-fpm.sock
Extension = php, php7
SessionTimeout = 60
}

UrlToolkit {
ToolkitID = nextcloud
Match ^/\.well-known/host-meta(\?(.*))? Rewrite /public.php?service=host-meta&$2
Match ^/\.well-known/host-meta\.json(\?(.*))? Rewrite /public.php?service=host-meta-json&$2
Match ^/\.well-known/carddav Rewrite /remote.php/dav/
Match ^/\.well-known/caldav Rewrite /remote.php/dav/
Match ^/remote/([^?]*)(\?.*)? Rewrite /remote.php$2
Match ^/index.php/([^?]*)(\?.*)? Rewrite /index.php$2
#Match ^/(?:build|tests|config|lib|3rdparty|templates)/.* DenyAccess
Match ^/.well-known/acme-challenge/.* Return
#Match ^/(?:\.|autotest|occ|issue|indie|db_|console).* DenyAccess
}

Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.html
UseFastCGI = PHP7
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log

VirtualHost {
Hostname = nextcloud.mydomain.com
AccessLogfile = none
WebsiteRoot = /var/www/nextcloud
StartFile = index.php
TimeForCGI = 1
WebDAVapp = yes
EnablePathInfo = yes
UseFastCGI = PHP7
UseToolkit = nextcloud
HTTPAuthToCGI = yes
RequireTLS = yes
TLScertFile = /etc/hiawatha/tls/cert.pem
}
Hugo Leisink
16 February 2019, 07:29
What do you mean with 'the program crashes'?
Hiawatha with Nextcloud
18 February 2019, 07:19
The client programm get a lot of error messages until it stop working and crash.
This topic has been closed.