Commit Graph

1019 Commits

Author SHA1 Message Date
Ferdinand Thiessen
aeed102682 fix(nginx): fastcgi_request_buffering must be on
* resolves: https://github.com/nextcloud/documentation/issues/9574

Some clients like DAVx5 use chunked transfer encoding.
PHP-FPM does not support this[1] because it requires to comply with the
CGI standard - 20+ years old - which enforces a Content-Length header.

So we need to buffer the whole request until passing it to PHP-FPM.

Without this 0-byte files would be created on Nextcloud as PHP-FPM will
not only set content-length to 0 but also does not pass the body data
stream.

[1] https://bugs.php.net/bug.php?id=51191 and https://github.com/php/php-src/pull/7509

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-04 13:54:17 +00:00
Josh
9ac65ce4a7 chore: typo php_configuration.rst
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-08-31 07:40:42 -04:00
Josh Richards
a269ad7aa9 chore(admin): Fix typo
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2025-08-30 12:45:52 -04:00
Josh Richards
8dd56af040 refactor(admin): Improve the PHP Modules & Configuration chapter
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2025-08-30 12:13:39 -04:00
as598466
1647f1787b improve nginx conf examples to mention php-fpm timeouts
When uploading large files, a 504 error occurs in the Nextcloud client: "It’s taking too long to connect to the server. Please try again later. If you need help, contact your server administrator. Add the appropriate directives to prevent this error.

Signed-off-by: as598466 <124391092+as598466@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-Authored-By: Simon L. <szaimen@e.mail.de>
2025-08-26 11:41:36 +02:00
Alexander Müller
9fed6bbb73 fix command (replace "=" with " ")
reported by a customer, confirmed by Björn

Signed-off-by: Alexander Müller <28591861+alexanderdd@users.noreply.github.com>
2025-08-14 08:18:22 -05:00
Julien Veyssier
8486c74c57 enh(admin): comment timeout configs in nginx-root-sample and nginx-subdir.conf.sample
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 14:18:38 +02:00
Julien Veyssier
7f4243222e enh(admin): add more timeout configs in the nginx-root-sample and nginx-subdir.conf.sample files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 14:14:27 +02:00
rakekniven
35caa5542d Merge pull request #13445 from nextcloud/fix/nginx-xss-protection-header
docs(admin): remove X-XSS-Protection header from Nginx assets
2025-08-01 18:35:20 +02:00
Alper Öztürk
6cdc38c341 Update system_requirements.rst
Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com>
2025-07-25 15:17:56 +02:00
MichaIng
6d820f08fd docs(admin): remove X-XSS-Protection header from Nginx assets
It was removed from the config in #9188, but forgotten for the static assets block.

In addition, the date added with #12100 was is added to the subdir config as well, for consistency.

Signed-off-by: MichaIng <micha@dietpi.com>
2025-07-23 13:06:26 +02:00
MichaIng
934e5d20d1 docs(admin): remove X-XSS-Protection header from hardening section
Signed-off-by: MichaIng <micha@dietpi.com>
2025-06-30 21:39:35 +02:00
Maru Alka
669ebf6b80 Disable XSS-Protection Header
see notes: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection

Signed-off-by: Maru Alka <me@marco-alka.de>
2025-06-30 21:39:30 +02:00
Emma
46a5e9446a fix: misleading code examples
Signed-off-by: Emma <muelltonnensurfen@gmail.com>
Co-authored-by: Simon L. <szaimen@e.mail.de>
2025-06-30 11:23:08 +02:00
Alexander Müller
ec494047fa Update source_installation.rst - fix length of ^^^ in snap section
Signed-off-by: Alexander Müller <28591861+alexanderdd@users.noreply.github.com>
2025-06-16 18:57:27 +02:00
Alexander Müller
2dd9078886 Update source_installation.rst - fix heading hierarchy für snap section
Signed-off-by: Alexander Müller <28591861+alexanderdd@users.noreply.github.com>
2025-06-16 18:57:27 +02:00
Ayke Halder
963d77bcab Add hint to pretty URLs: edit config htaccess.ignorefrontcontroller if htaccess SetEnv does not work
This fixes https://github.com/nextcloud/documentation/issues/13125

Signed-off-by: Ayke Halder <rr-it@users.noreply.github.com>
2025-05-22 16:17:08 +00:00
Giorgio Caculli
de65618c96 Update example_openbsd.rst
Configuration updated based on OpenBSD 7.7 setup.
- PHP 8.2 for current 7.7 installation
- Rewriting of httpd.conf to follow configuration tips from: https://github.com/nixbitcoin/OpenBSD-Nextcloud/blob/master/README.md
The current httpd configuration will not load the interface properly for Nextcloud 30.0.10 installed via pkg_add, adapting it with nixbitcoin's configuration leads it to load the interface properly and show various components to the user.

Signed-off-by: Giorgio Caculli <40541342+GiorgioCaculli@users.noreply.github.com>
2025-05-22 11:53:31 +02:00
Tobias Kaminsky
47a9a28ca9 Clarify that downloads can come from gh
Signed-off-by: Tobias Kaminsky <tobias@kaminsky.me>
2025-05-20 12:55:45 +02:00
rakekniven
0108da467a Update admin_manual/installation/server_tuning.rst
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-13 20:58:58 +02:00
Kraligor
10c747ee0a Update server_tuning.rst to include example Imaginary Docker run command
Signed-off-by: Kraligor <o.beiter@googlemail.com>
2025-05-13 20:58:58 +02:00
rakekniven
b138b976bc Merge pull request #7418 from luiz-surian/patch-2
Update nginx-root.conf.sample
2025-05-05 22:01:17 +02:00
Scarlett McAllister
6573dd0072 OpenBSD documentation should include instruction for web wizard 2025-05-05 17:27:53 +02:00
MichaIng
4ad9e7c36e nginx-subdir: Align HSTS directive with root config
Signed-off-by: MichaIng <micha@dietpi.com>
2025-05-05 13:21:16 +02:00
Luiz Surian
c9b1b22eb9 Update nginx-root.conf.sample
To be in compliance with RFC6797 and https://hstspreload.org/, line 31 about the Strict-Transport-Security (HSTS) Header should have a minimum max-age of 31536000 seconds, and not have a ";" symbol at the end.
2025-05-05 13:17:47 +02:00
Simon L.
495247ae4a standardize occ command documentation
Use `sudo -E -u www-data php occ` everywhere.
Motivation: this should work on more appliances like also inside docker containers.
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-29 13:21:08 +02:00
Alexander Müller
62a3bdf1b5 chore: update recommended ubuntu lts version from 22.04 to 24.04
I hope this is correct? In the portal we say 24.04 is recommended https://portal.nextcloud.com/article/Installation/Installation---Supported-platforms

Signed-off-by: Alexander Müller <28591861+alexanderdd@users.noreply.github.com>
2025-04-28 09:02:25 +02:00
scubamuc
1af7cf5e06 Update source_installation.rst
Correct syntax add closing brackets

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-04-11 18:16:13 +02:00
scubamuc
953c30ffcd Update source_installation.rst
add: link to confinement
remove: syntax error
add: requirements

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-04-11 18:16:13 +02:00
rakekniven
e149a91474 Merge pull request #12383 from nextcloud/docs-admin-install-selinux-silent-denials
docs(admin): Add tip about detecting silent denials in SELinux
2025-04-11 18:07:37 +02:00
Jyrki Gadinger
5229fae9c9 fix: update macOS requirement for desktop clients
Also include Alma 8 (EL8) as a supported distro for our AppImages

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-09 08:28:22 +02:00
Simon L.
f3c73b750e docs: aio-imaginary image has been moved to ghcr.io
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-08 10:54:48 +02:00
scubamuc
c471e575e4 Update source_installation.rst
correct syntax error

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-04-02 18:54:54 +02:00
scubamuc
b0cd967fc1 Update source_installation.rst
add: link to confinement
remove: syntax error
correct: link error

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-04-02 18:54:54 +02:00
scubamuc
e3ceb02920 Update source_installation.rst
add: encryption
add: configuration
add: external media

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-03-28 20:36:16 +01:00
rakekniven
78c629d6ae Merge branch 'master' into patch-5
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-03-27 18:28:19 +01:00
scubamuc
a4b3be6754 Update source_installation.rst
correct line break error

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-03-27 18:19:09 +01:00
scubamuc
1d07997db2 Update source_installation.rst
beautify format and context, add installation procedure for first start, correct grammar, add links in correct format

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-03-27 11:53:56 +01:00
scubamuc
f3c99e4826 Update source_installation.rst
update information from Nextcloud snap documentation including description and links for clearer understanding

Signed-off-by: scubamuc <54933878+scubamuc@users.noreply.github.com>
2025-03-26 11:01:45 +01:00
rakekniven
df0cb8d30d Merge branch 'master' into patch-1
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-03-21 22:46:47 +01:00
rakekniven
1e049f107f Merge branch 'master' into chore/webauthn-modules
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-03-21 13:54:06 +01:00
jameskimmel
06f3ac67af fix docker hub link
Signed-off-by: jameskimmel <17176225+jameskimmel@users.noreply.github.com>
2025-03-21 13:30:54 +01:00
Ferdinand Thiessen
c482eb508e fix(admin): Specify php-sodium requirements
The sodium extension is only needed for argon2, iff:
- PHP is < 8.4 and built without libargon2

With PHP < 8.4 you can also enable argon2 without sodium by compiling
with libargon2 support.
With PHP 8.4 the argon2 support is included in php-openssl which is
already a hard requirement of Nextcloud.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-17 12:15:13 +01:00
Ferdinand Thiessen
8bd5728e58 fix(admin): Adjust required and recommended modules
- `bcmath` is not needed anymore.
- `gmp` is not required but recommended now for WebAuthn.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-17 12:14:23 +01:00
Raymond Hackley
ce45a4a0ef docs(admin): add Alpine Linux
Alpine Linux is a well maintained distro, which features a lightweight
environment, and good choice for LNMP.

Add Alpine Linux to system requirements.

Signed-off-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-03-01 21:03:53 +01:00
Josh
0ff528bd4c fix(admin): Update required sqlite to 3.24+
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-01 12:47:22 -05:00
Joas Schilling
d47918e6bf fix: Add marker to positions that need adjusting on branch off
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-31 16:00:27 +01:00
Josh
20f496e3c6 chore: remove no longer applicable Imaginary + HEIC warning
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-11 15:08:51 -05:00
Marcel Müller
680ab7552e chore(talk): Update minimum requirements to 9.0+
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-01-02 15:43:19 +01:00
Andy Scherzinger
69ce4b8c7a docs: Add generic uninstallation pointers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-12 11:03:32 +01:00