18 lines
436 B
Cheetah
18 lines
436 B
Cheetah
#
|
|
# Template used to handle PHP fastcgi applications
|
|
#
|
|
# You still need to define `SCRIPT_FILENAME` for your PHP application, and
|
|
# probably `fastcgi_index` if your application use different index file.
|
|
#
|
|
include fastcgi_params;
|
|
|
|
# Directory index file
|
|
fastcgi_index index.php;
|
|
|
|
# Handle PHP files with upstream handler
|
|
fastcgi_pass php_workers;
|
|
|
|
# Fix the HTTPROXY issue.
|
|
# Reference: https://httpoxy.org/
|
|
fastcgi_param HTTP_PROXY '';
|