PHP-FPM status page on Plesk + NGINX proxy
I am trying to enable the PHP-FPM status page on a vhost running under Plesk 17 using apache to serve PHP files, but with nginx as a proxy. I have enabled the status page for php, but I am having…
I am trying to enable the PHP-FPM status page on a vhost running under Plesk 17 using apache to serve PHP files, but with nginx as a proxy. I have enabled the status page for php, but I am having…
Using Plesk with Apache and Nginx together on Centos. Errors were being logged perfectly on; /var/www/vhosts/example.com/logs/error_log /var/www/vhosts/example.com/logs/proxy_error_log I truncated the files by deleting and recreating them; now nothing is logged. File owner and the file permissions are all the same;…
I try to redirect www.example.com to https://example.com by adding the first serverblock. But it doesn't redirect. And it has to be redirected permanently to avoid SEO issues and security warnings for the user. Here is my complete NGINX config file:…
I having difficulty serving static files with Django 1.10, uWSGI and Nginx. I have an index.html file, which contains CDN's. The Django documentation, which is here says to "transfer the static files to the storage provider or CDN." What does…
my old server had this in the htaccess file: < FilesMatch "^resort$"> ForceType application/x-httpd-php < /FilesMatch> where I had a resort php file (without the php extension)... so the file was domain.com/resort/param1/param2 I'm struggling to make the equivalent work for…
symfoniers! I have the unknown problem, I can't find what I did wrong. We have working site on symfony 2.3 with sylius 0.11 version, nginx 1.10, varnish 4.1, php5.5. So when we try to set up configuration ready new config…
We are currently moving our servers to a new one, with PLESK 12.5 which doesn't support Varnish cache for our PHP applications. We use Varnish, mostly for the 'stale-while-revalidate' capability, so that we can send whole pages or parts (using…
I found the following discussion that was posted 4 years ago: 502 Gateway Errors under High Load (nginx/php-fpm) Where someone had a similar issue as mine, but unfortunately I believe that the configurations he received were customized for his own…
I'm moving a site from apache to nginx and stuck with the following configuration. I have site http://example.com/ which shows the main (English) version. Also, I have a few more languages which could be opened using correspondent subdirectories. http://example.com/de http://example.com/fr,…
Server Setup: VPS Plesk 12.5 Centos 7 NGINX as reverse proxy to Apache 2.4 Path to NGINX config: /etc/nginx/nginx.conf Plesk provides a GUI Apache & nginx Settings dialog box, but is unable to accept server{} blocks from there. I've tried…