Note, this is a file-size restriction in addition to the restriction set in /etc/php8/php-fpm.d/nf. This enabled large file uploads and auto-uploads to work. For testing purposes, I disabled the limit by changing it to: If you plan to enable uploads - and you probably do) - then you need to modify the default: If (!-f $document_root$fastcgi_script_name) # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000įastcgi_split_path_info ^(.+?\.php)(/.*)$ #Beware! It breaks compatibility with older OS and browsers (e.g. #Enable Perfect Forward Secrecy and ciphers without known vulnerabilities #listen :443 ssl #uncomment for IPv6 support Nextcloud-initscript facilitates running the webserver with php-fpm.ĭelete the default nginx website configuration:Ĭreate a configuration file for your site in /etc/nginx/http.d/: Generating an SSL certificate for your webserver is outside of the scope of this document. You are free to install any other webserver of your choice as long as it supports PHP and FastCGI. Nginx is preferred over Lighttpd since the latter will consume a lot of memory when working with large files (see lighty bug #1283). In this example we will install nginx or lighttpd. Next thing is to choose, install, and configure a webserver. You will need them later when setting up nextcloud. Note: Replace the above username 'mycloud' and password 'test123' with something secure.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |