linux 乌班图 nginx php直接下载下来

location ~ .php(.*)$ {
include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}

原文地址:https://www.cnblogs.com/chengfengchi/p/10400986.html