- 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
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.
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.
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.
Just stumbled upon #2054, which mentions removing and installing the app again as a solution. Checked this page, which didn't mention anything about app removal.
I basically winged it with `app:remove` and it worked:
```bash
$ php occ app:remove calendar
calendar disabled
calendar removed
$ php occ app:install calendar
calendar installed
calendar enabled
```
This PR just adds app:remove under app commands list.
Signed-off-by: Aleksandar Todorović <aleksandar@sigurnost.online>
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.
- 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>
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>
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>