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
# do not make noise | |
set bell-style none | |
# Don't echo ^C etc (new in bash 4.1) | |
# Note this only works for the command line itself, | |
# not if already running a command. | |
set echo-control-characters off | |
# Note this must be done before the settings below | |
# Caveats: |
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
## Force redirect to www address | |
server { | |
server_name zf.local; | |
rewrite ^(.+?)/?$ http://www.zf.local$1 permanent; | |
} | |
server { | |
listen 80; | |
server_name www.zf.local; | |
index index.php; |
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
user www-data; | |
worker_processes 4; | |
worker_cpu_affinity 0001 0010 0100 1000; | |
worker_rlimit_nofile 8192; | |
events { | |
use epoll; | |
worker_connections 8192; | |
} |
NewerOlder