Bug #2881
Updated by gstrauss about 7 years ago
Hi, i use lighttpd 1.4.45 from DEBIAN Stretch stable every since without any problems! After the regular DEBIAN ) upgrade i access my nextcloud13 installation and lighttpd threw at me a 431 error ! Searching the forum I discovered some solutions by changing the server.max-request-size. However, since day 1 this option is set as follows: *#file upload server.max-request-size = 20480000 server.network-backend = "writev"* and it worked like a charm, ever since. my lighttpd.conf looks like: <pre> # required server modules server.modules = ( "mod_auth", "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_rewrite", "mod_fastcgi", "mod_simple_vhost", "mod_webdav", "mod_status", "mod_setenv", ) server.document-root="/var/www/servers" server.upload-dirs=("/var/www//uploads") server.error-log="/var/log/lighttpd/error.log" server.pid-file ="/var/run/lighttpd.pid" server.username="www-data" server.groupname="www-data" server.port= 80 ## where to send error-messages to server.errorlog = "/var/log/lighttpd/error.log" # index-files.names= ("index.php", "index.html","default.htm","index.lighttpd.html","/dir-generator.php") index-files.names= ("index.php", "index.html","default.htl","index.lighttpd.html") mimetype.use-xattr = "enable" mimetype.assign = ( ".png" => "image/png", ".gif" => "image/gif", ".jpg" => "image/jpeg", ".jpeg" => "image/jpeg", ".svg" => "image/svg+xml", ".svgz" => "image/svg+xml", ".html" => "text/html", ".css" => "text/css", ".js" => "text/javascript", ".txt" => "text/plain", ) url.access-deny =("~", ".inc",".htaccess", ".htpasswd", "password.txt", "username.txt", "login.txt" ) # Configuration directives for Davdroid Installation # # URl Redirector für DAVDroid Adressen url.redirect = ( "^/.well-known/carddav" => "/nextcloud/remote.php/dav", "^/.well-known/caldav" => "/nextcloud/remote.php/dav", ) # # Configuration directives for SSL Installation # $SERVER["socket"] == ":443" { ssl.engine = "enable" ssl.pemfile = "/etc/lighttpd/server.pem" } # Zugriff von remote auf Status-Meldungen $HTTP["remoteip"] == "192.168.175.0/24" { status.status-url = "/server-status" status.statistics-url = "/server-stats" status.config-url = "/server-config" # status.statistics-url = "/server-counters" } #Location für Virtuelle-Server (Multi-Server Konfiguration) include_shell "/var/www/config_servers" #Directory Listing # include_shell "/var/www/scripte/dir-generator.php" #file upload server.max-request-size = 20480000 server.network-backend = "writev" </pre> PHP 7.0 Well, I am happy to receive some advice to resolve this issue at short notice! Many thanks in advance ! regads, Ireng