• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Nextcloud's nginx.conf on Plesk

Zoo3

Regular Pleskian
I have installed and used Nextcloud, but I have one unknown point.

Code:
upstream php-handler {
   server 127.0.0.1:9000;
   #server unix:/var/run/php/php7.0-fpm.sock;
}

I wrote this directly in nginx.conf. Is there a way to configure this in Plesk?

--
PHP7.3, Nginx 1.14.2
 
You can try to create file upstream.conf, for example in /etc/nginx/conf.d/ directory with this content. Thins config will be loaded by nginx and will not be affected by any Plesk/nginx update.
 
Thank you. Is it impossible to configure only with Plesk?
It is global nginx config. In Plesk you can configure nginx config on domain level as "Additional nginx directives" in Web settings of your subscription.
 
Gracias. ¿Es imposible configurar solo con Plesk?
Les dejo mi conf personalizado para nextcloud en plesk.
Lo hice como dice Igor, les dejo la ruta exacta en la GUI.

midominio.com
Haz clic en Hosting y DNS
Haga clic en Configuración de Apache y nginx
Si navega hasta el final de la página, encontrará:
Configuración de Apache y nginx y una caja vacía.

Mi configuración aquí:

ubicación ^~ /.bien conocido {
ubicación = /.bien conocido/carddav { return 301 /qbox/remote.php/dav/; }
ubicación = /.bien conocido/caldav { return 301 /qbox/remote.php/dav/; }
ubicación /.bien conocido/acme-challenge { try_files $uri $uri/ =404; }
ubicación /.bien conocido/pki-validación { try_files $uri $uri/ =404; }

devuelve 301 /qbox/index.php$request_uri;
}
 

Attachments

  • Directivas-adicionales.png
    Directivas-adicionales.png
    239.1 KB · Views: 2
I have installed and used Nextcloud, but I have one unknown point.

Code:
upstream php-handler {
   server 127.0.0.1:9000;
   #server unix:/var/run/php/php7.0-fpm.sock;
}

I wrote this directly in nginx.conf. Is there a way to configure this in Plesk?

--
PHP7.3, Nginx 1.14.2
Do you solved your problem?
Do you install Nextcloud manual or with Docker Compose?
 
Do you solved your problem?
Do you install Nextcloud manual or with Docker Compose?

I had forgotten what I used to write here. I have created a new topic. I'm able to run the software by writing directly in nginx.conf.
I wish there was a way to do it within Plesk instead of directly in nginx.
 
Back
Top