# This server block and the PHP script it maps make ServNest authentication available to the SFTPGo external authenticator server { listen [::1]:8055; # It's meant to stay a private IP root /srv/servnest/core; include inc/errors.conf; location / { try_files /sftpgo-auth.php =500; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/run/php-fpm/servnest.sock; include inc/fastcgi.conf; } }