]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - docker/alpine/nginx.conf
docker: switch to Alpine Linux for the master image
[github/shaarli/Shaarli.git] / docker / alpine / nginx.conf
similarity index 94%
rename from docker/production/stable/nginx.conf
rename to docker/alpine/nginx.conf
index e8754d9b478f85cbeb033756d2114759f1809d37..07fba33fec11bcbf90741c086586550a0b86c57c 100644 (file)
@@ -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;
         }