Wednesday, May 22, 2024

Re: httpd & nextcloud

On Wed May 22, 2024 at 2:38 PM BST, Am Jam wrote:
> Hi Everyone,

Hi Am,

> Before anyone asks, removing "/nextcloud" from each of the location strings
> does not work.
> When I do that I get an "ERR_EMPTY_RESPONSE" error in my browser (Chrome).
> My httpd.conf below was inspired by the one outlined in the nextcloud
> pkg-readme.

Did you also remove the line: 'request strip 1'?

So that instead of
> location "/nextcloud/*.php*" {
> root "/nextcloud"
> request strip 1
> fastcgi socket "/run/php-fpm.sock"
> pass
> }

you should have:
location "/*.php*" {
root "/nextcloud"
fastcgi socket "/run/php-fpm.sock"
pass
}


Regards,
Souji

No comments:

Post a Comment