-
-
Save tao-s/bbcde2679340031533be to your computer and use it in GitHub Desktop.
This file contains hidden or 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
; php options | |
session.save_handler = files | |
session.save_path = /var/lib/php5 | |
session.gc_maxlifetime = 1440 | |
short_open_tag = On | |
expose_php = Off | |
; hhvm specific | |
hhvm.log.level = Warning | |
hhvm.log.always_log_unhandled_exceptions = true | |
hhvm.log.runtime_error_reporting_level = 8191 | |
hhvm.mysql.typed_results = false |
This file contains hidden or 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
root /var/www/concrete5-5.7.0/web; | |
index index.php index.html; | |
server_name localhost; | |
server_tokens off; | |
location / { | |
if (-f $request_filename) { | |
expires 14d; | |
break; | |
} | |
if (!-e $request_filename) { | |
rewrite ^(.+)$ /index.php/$1 last; | |
} | |
} | |
location ~ ^(.+\.php)(.*)$ { | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
include fastcgi_params; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment