Commit Graph

690 Commits

Author SHA1 Message Date
J0WI
122ed88e53 Update urls to HTTPS
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 20:33:30 +02: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
Sascha Wiswedel
bd9ef16c19 purge strings about explicit Nextcloud versions
Versions deprecate fast and aren't needed in upstream documentation branches.

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-06-04 12:48:13 +02:00
Julius Härtl
07ff58b9e1 Extend whitelist for php entrypoints
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-26 17:32:32 +02:00
Sascha Wiswedel
ecad802e84 updated updated apps page
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-05-15 11:54:53 +02:00
Sascha Wiswedel
f0c22c93f7 bump iOS min required version from 10 to 11
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-05-14 13:17:48 +02:00
Morris Jobke
7b4912c343 Merge pull request #2060 from fabian-hk/master
Improve SSL hardening guide
2020-05-12 08:56:37 +02:00
Dan Shields
1bac5b78ae Update source_installation.rst
guessing this was an error. Remove or finish the thought?
2020-05-11 14:36:31 -06:00
Fabian Hauck
f174909c76 improved SSL hardening guide
Signed-off-by: Fabian Hauck <hauckfabian@gmail.com>
2020-05-10 14:11:08 +02:00
Lars van Ravenzwaaij
fa2b94dfac Edit Typo
Co-authored-by: Morris Jobke <hey@morrisjobke.de>
2020-05-04 17:08:53 +02:00
Lars van Ravenzwaaij
34998b7467 fixup! New requirements for passwordless auth 2020-05-03 19:01:59 +02:00
Lars van Ravenzwaaij
6118e77bff New requirements for passwordless auth
See https://github.com/nextcloud/server/issues/20600
2020-05-03 12:31:48 +02:00
John Molakvoæ
d529a9f05c Add missing block declaration 2020-04-22 10:36:47 +02:00
John Molakvoæ
7bac9a00c7 Fix code block
Fix #2011
2020-04-22 08:57:36 +02:00
gunnaraas
bd37ca574f Fixing small typo in docs
'environment' was spelled 'environmemt' on line 649
2020-04-21 10:33:54 +02:00
Julius Härtl
e25a370d58 Merge pull request #1913 from bkmgit/patch-2
Update example_centos.rst
2020-04-04 22:42:24 +02:00
Benson Muite
357c5a8e03 Update example_centos.rst
Remove second installation of EPEL

Signed-off-by: Benson Muite <benson_muite@emailplus.org>
2020-04-04 15:28:58 +03:00
Sascha Wiswedel
2904b27812 MySQL 5.6 is EOL already, MariaDB 10.1 is as good as EOL
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-04-02 14:20:57 +02:00