X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docker%2Falpine%2Fnginx.conf;fp=docker%2Fproduction%2Fstable%2Fnginx.conf;h=07fba33fec11bcbf90741c086586550a0b86c57c;hb=1a216faecb5c114afbf36ecbac8ec3f795309eba;hp=e8754d9b478f85cbeb033756d2114759f1809d37;hpb=2f69b6d04e399bd3efae0f12b8ad8c148fabf350;p=github%2Fshaarli%2FShaarli.git diff --git a/docker/production/stable/nginx.conf b/docker/alpine/nginx.conf similarity index 94% rename from docker/production/stable/nginx.conf rename to docker/alpine/nginx.conf index e8754d9b..07fba33f 100644 --- a/docker/production/stable/nginx.conf +++ b/docker/alpine/nginx.conf @@ -1,6 +1,7 @@ -user www-data www-data; +user nginx nginx; daemon off; worker_processes 4; +pid /var/run/nginx.pid; events { worker_connections 768; @@ -59,7 +60,7 @@ http { fastcgi_split_path_info ^(.+\.php)(/.+)$; # filter and proxy PHP requests to PHP-FPM - fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_pass unix:/var/run/php-fpm.sock; fastcgi_index index.php; include fastcgi.conf; }