FS#69752 - [nextcloud] Add sample configuration files for php-fpm and nginx

Attached to Project: Community Packages
Opened by William Vigolo da Silva (williamvds) - Tuesday, 23 February 2021, 20:29 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:08 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Users who are setting up Nextcloud with php-fpm and nginx would find it helpful to have some sample config files to work with.
The package currently provides a similar sample for Apache in /usr/share/doc/nextcloud/apache.example.conf.

php-fpm needs an additional pool to be configured, which runs as the `nextcloud` user, e.g. installed in /etc/php/php-fpm.d/nextcloud.conf.
I've added a sample configuration file to the wiki article at https://wiki.archlinux.org/index.php/Nextcloud#php-fpm.

nginx needs a configuration file that could be installed in /etc/nginx/sites-enabled/nextcloud. The upstream documentation provides a couple of sample nginx files, for hosting Nextcloud either as on the root or as a subdirectory of a website. These could use minor alterations for Arch, e.g. replacing "root /var/www/nextcloud;" with "root /usr/share/webapps/nextcloud;" to match the installation path in the nextcloud package, and the example socket path in php-upstream block replaced with /run/nextcloud/nextcloud.sock (or otherwise matching the sample php-fpm config). One or both of these example nginx configs could be provided in the package so users can apply upstream recommendations with minimal manual editing needed.

Additional info:
* Package version checked: 21.0.0-7
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:08 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/nextcloud/issues/2
Comment by David Runge (dvzrv) - Friday, 26 March 2021, 18:21 GMT
@williamvds: Thanks for the report.

As mentioned via mail privately, I believe the addition of additional configuration presets is a larger topic.
I plan on providing an RFC for a more generalized approach for this in the future, as configuration presets/defaults are useful not only to nextcloud of course.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...