Created
September 8, 2015 20:16
-
-
Save nurulimamnotes/9386df9cb06e57a83c95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ \.(hh|php)$ { | |
fastcgi_intercept_errors on; | |
error_page 500 501 502 503 = @fallback; | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_keep_conn on; | |
fastcgi_pass 127.0.0.1:9000; | |
# fastcgi_pass unix:/var/run/hhvm/hhvm.sock; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param SERVER_NAME $host; | |
include fastcgi_params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment