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
#varnish cache server configuration file, used with drupal 6 and apache | |
#inspiration from https://wiki.fourkitchens.com/display/PF/Configure+Varnish+for+Pressflow | |
#with change from obj to beresp of | |
#http://www.mail-archive.com/[email protected]/msg02911.html | |
#and cache HIT or MISS header from somewhere else | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "80"; | |
.connect_timeout = 600s; | |
.first_byte_timeout = 600s; |
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
mkdir ~/git/website.git && ~/git/cd website.git | |
git init --bare | |
mkdir ~/webapps/website | |
git config core.bare false | |
git config core.worktree /home/rafi/webapps/website ; NO TRAILING SLASH!!! Will screw up things real bad. | |
git config receive.denycurrentbranch ignore | |
; create a hook | |
cat > hooks/post-receive | |
#!/bin/sh |
NewerOlder