diff --git a/src/components/Nginx.php b/src/components/Nginx.php
index <HASH>..<HASH> 100644
--- a/src/components/Nginx.php
+++ b/src/components/Nginx.php
@@ -199,7 +199,12 @@ class Nginx extends \hidev\base\Component
 
     public function findFpmSocketFile()
     {
-        $files = ['/run/php/php7.0-fpm.sock', '/var/run/php5-fpm.sock', '/tmp/php-fpm.sock'];
+        $files = [
+            '/run/php/php7.1-fpm.sock',
+            '/run/php/php7.0-fpm.sock',
+            '/var/run/php5-fpm.sock',
+            '/tmp/php-fpm.sock',
+        ];
         foreach ($files as $file) {
             if (file_exists($file)) {
                 return $file;
added more FPM socket variants to guess from