Commit Graph

706 Commits

Author SHA1 Message Date
Christoph Wurst
bc23541e03 Fix PHP's rewrite rule in NGINX subdir example
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-01-07 11:28:44 +00:00
kesselb
e9731fe323
Merge pull request #7153 from nextcloud/backport/7142/stable20
[stable20] selinux: All directory labels should be deleted on uninstall
2021-09-28 15:58:42 +02:00
Pedro
70074f5b7d All directory labels should be deleted on uninstall 2021-09-28 13:35:50 +00:00
Christoph Wurst
9d411e3e33 Fix legacy routes like ajax.php on nginx
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-28 13:29:04 +00:00
Joas Schilling
2541525e8c Update apps_supported.rst 2021-08-27 07:24:37 +00:00
Daniel Kesselberg
4aa9a0e5d0
Fix system requirements table
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-30 14:45:02 +02:00
My1
c99b627bef
[stable20] MariaDB 10.6 is not supported
https://github.com/nextcloud/documentation/pull/6972#issuecomment-883694497
2021-07-21 10:26:03 +02:00
acsfer
19b83b0ee2 Typo 2021-05-25 08:27:00 +00:00
acsfer
5fa63b47bf Add a warning about limited support for NGINX 2021-05-25 08:26:59 +00:00
Sascha Wiswedel
7324af2768 added brute-force settings to supported apps
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-04-14 12:47:03 +00:00
hashashin1191
7bf47a5024 Update source_installation.rst
Signed-off-by: hashashin1191 <hashashin1191@protonmail.com>

#6224
2021-03-16 21:11:38 +00:00
Omemanti
fb5e5d9a4e Update example_ubuntu.rst
tar command gave errors, (typo?)
-xfjv => -xjvf 

 tar -xfjv nextcloud-x.y.z.tar.bz2 =>  tar -xjvf nextcloud-x.y.z.tar.bz2
2021-01-15 08:52:16 +00:00
anoy
bb0456685c remove global browser caching
Signed-off-by: anoy <anoymouserver@users.noreply.github.com>
2021-01-12 17:00:54 +00:00
Victor Joos
cb7fb91ade Adds links to ubuntu 20.04 example
The current documentation ends abruptly when only reading the "example
installation on ubuntu 20.04" document. This commit adds some links for the
next (potential) steps.

Signed-off-by: Victor Joos <victor.joos@uclouvain.be>
2020-11-19 21:07:03 +00:00
Morris Jobke
0ca10682b1 Recommend Ubuntu 20.04 instead of 18.04
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-06 08:25:17 +00:00
Damian Nowak
dea71bd97c server_tuning.rst: escape regexp properly
Some shells like zsh will not auto-escape an argument if no match is found on the filesystem.
2020-10-06 07:04:41 +00:00
J0WI
d1066679dc Update urls to HTTPS
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 18:37:02 +00:00
Morris Jobke
9873b6be34
Merge pull request #2772 from AndrewwHummer/patch-2
Example centos walkthrough, add working secure apache config
2020-09-14 17:11:10 +02:00
Morris Jobke
c88a15c11b
Merge pull request #2197 from jivanpal/patch-2
Update nginx.rst -- Reworked the Nginx configs
2020-08-10 16:52:48 +02:00
Jivan Pal
2fa446d4e2 Change alias to root, as per discussion:
https://github.com/nextcloud/documentation/pull/2197#discussion_r467362742
2020-08-08 16:28:01 +01:00
Jivan Pal
776d23d52e Update comment 2020-08-08 00:36:41 +01:00
AndrewwHummer
3fa705e4d0
Update example_centos.rst
add ref to detailed apache config back again
2020-08-07 14:23:33 +02:00
AndrewwHummer
63cb4ad484
Example centos, add working secure apache config
It would be really helpful if the example of a CentOS Configuration Walkthrough would directly contain a working and secure apache configuration.
Just the Reference to the detailed apache config is not adequate and too easy to overlook and users will end up with an unsecure and broken config. This could lead to the usual htaccess not working questions.

So here is my proposal :)
2020-08-07 11:17:34 +02:00
Joshua Ruehlig
892754cadb
More ugly non-capturing changes 2020-08-06 10:33:34 -07:00
Joshua Ruehlig
42cbf655c3
Making comment consistent 2020-08-06 10:25:09 -07:00
Jivan Pal
1c4b5aa32c Merge since my last push 2020-08-06 17:27:50 +01:00
Jivan Pal
66f7342c64 Made 2 changes to nginx.rst:
- Changed `try_files` for `/.well-known` to allow URIs that we don't handle and not pass them to our front-end controller
- Changed rule to match `/nextcloud/*` from regex rule to equivalent prefix rule
2020-08-06 17:18:10 +01:00
Joshua Ruehlig
59c946850a
Update nginx.rst
Note is no longer relevant
2020-08-06 04:41:28 -07:00
Joshua Ruehlig
f383cf62eb
Update nginx.rst
Discussed here > https://github.com/nextcloud/documentation/pull/2197#discussion_r453641162
2020-08-06 03:15:55 -07:00
Joshua Ruehlig
1835250df2
Another minor change
You probably are correct on NGINX optimizing groups with unused captures into non-capturing groups, but unless we know for sure/see documentation I think it is best we are explicit.
2020-08-06 02:07:55 -07:00
Joshua Ruehlig
f598e2423c
Basic changes
I think we mostly agree on these, grouping them for easy merging.

Creating a new branch is giving me an error for some reason, so I will commit directly. If necessary we can always revert.
2020-08-06 01:43:10 -07:00
Hans Erasmus
9fa919502a
Update example_centos.rst
Not sure why the needed to be built manually? But a fresh install with remi 7.4 gives `php-pecl-imagick-3.4.4-10.el8.remi.7.4` and `php-pecl-redis5-5.3.1-1.el8.remi.7.4` respectively.
2020-07-31 22:51:02 +02:00
Eibe
981accc0e7
Add fail2ban hardening
Signed-off-by: Eibe <40539455+eibex@users.noreply.github.com>
2020-07-29 23:47:39 +02:00
Jivan Pal
cc79936a73 "NextCloud" → "Nextcloud" 2020-07-27 19:59:12 +01:00
Daniel Böhmer
fb51fbefe0 Escape line breaks in multiline command 2020-07-23 13:01:18 +00:00
benks
43e4a93b66
Update source_installation.rst
repaired Bullet Points.
2020-07-20 14:44:05 +02:00
Ethan Fie
fc68c5902b
Update example_ubuntu.rst
tar extract would not work without the -v option added to the command
2020-07-12 17:26:29 -05:00
Ethan Fie
65fb0798a9
Update example_ubuntu.rst
I'm somewhat new to the Linux world and was doing this on a fresh install of Ubuntu. I needed to run the apt update command in order to fetch package information for the following commands and get them to run/install the necessary packages. 

I also needed to start the MySQL server instance before I was able to run the listed commands.
2020-07-12 17:11:55 -05:00
Jivan Pal
fa55f48e6c Made 4 changes to nginx.rst
- Removed `index.htm` from `index` directive
- Rewrote `DavClnt` user agent handler using `location =` and `return`, rather than `rewrite`
- Removed block which prevents access to hidden files; incorporated rule to prevent access to root-level hidden folders into existing regex rule, as in `.htaccess`
- Removed `$uri/` from `try_files` directives for static files

Signed-off-by: Jivan Pal <jivan.pal@gmail.com>
2020-07-12 21:28:26 +01:00
Jivan Pal
6b40a23ab9 Update nginx.rst -- Reworked the Nginx configs
After inspecting the Nginx configs currently seen at [ https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html ], I have notice that they are very redundant in some areas, and handle specific paths in special ways which are not needed, and which run the risk of needing to become more specific down the road if NextCloud adds new features, as well as not handling all static filetypes. I have reworked the configs from scratch by directly adapting the `.htaccess` files, and this is the result. Comments are included in the file to give rationale/explanation for why things are written in this new way, and if the maintainers decide to accept this pull request, I will leave it up to them to decide whether to include these expository comments upstream.

Signed-off-by: Jivan Pal <jivan.pal@gmail.com>
2020-07-12 02:44:33 +01:00
Kyle Fazzari
9f6f4442f7
Actually link to snap
That link includes details for how to install snapd if necessary. Also
add a brief blurb about what the snap actually is.

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2020-07-08 13:27:16 -07:00
Morris Jobke
8e8929f342
Merge pull request #2152 from EV21/increase-php-in-config
increase php version to 7.4 in NGINX configuration example
2020-07-05 23:12:50 +02:00
Morris Jobke
cce2355af8
Merge pull request #2148 from nathanhaines/patch-2
Update example_ubuntu.rst for Ubuntu 20.04 LTS
2020-07-05 23:09:12 +02:00
Morris Jobke
0eb6aa4646
Merge pull request #2143 from mmsaffari/patch-2
misspelled Imagemagik
2020-07-05 22:57:25 +02:00
Morris Jobke
0a353ed6d1
Merge pull request #2169 from therealklanni/patch-2
Add audio formats
2020-07-03 12:36:43 +02:00
Billy
9dc0bf8cd2
Replacing 'a' with 'an'
Check your grammar next time!
2020-07-01 14:41:21 +01:00
Kevin Lanni
ad964b1a07
Add audio formats
Signed-off-by: Kevin Lanni <therealklanni@gmail.com>
2020-06-25 14:32:44 -07:00
Eduard Veit
2ef5a460b1
increase php version in nginx config
Signed-off-by: Eduard Veit <developer@ev21.de>
2020-06-16 15:11:43 +02:00
Nathan Haines
d12878faaf Update example_ubuntu.rst for Ubuntu 20.04 LTS
This documentation has been outdated since Ubuntu 18.04 LTS (mysql/mariadb don't prompt for a root password, so you need to create a Nextcloud user), but it doesn't work on Ubuntu 20.04 LTS because it uses explicit PHP version numbers and it omits some recommended PHP modules for Nextcloud Hub 18 and 19.  I've updated the instructions to run on Ubuntu 20.04 LTS and have tested each step.

This page now leaves a new Ubuntu 20.04 LTS system in a state to continue the "Installation on Linux" steps starting with configuring Apache2 without errors.

Signed-off-by: Nathan Haines <nhaines@ubuntu.com>
2020-06-11 20:47:23 -07:00
Mohammad Mahdi Saffari
4009537139
misspelled Imagemagik
dnf complains about not finding `Imagemagik` and suggests you would install `ImageMagik`
2020-06-09 14:35:17 +04:30