Skip to content

Instantly share code, notes, and snippets.

Kingsley Felix iamkingsleyf

Block or report user

Report or block iamkingsleyf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iamkingsleyf
iamkingsleyf / link-list
Created Apr 20, 2016
side by side adsense link list for 200x90
View link-list
@iamkingsleyf
iamkingsleyf / nginx-wpcache-phpfpm
Created Nov 26, 2015
php-fpm nginx wordpress wpsupercache conf
View nginx-wpcache-phpfpm
##
# 301 redirect conf
##
server {
listen 80;
server_name healthable.org;
rewrite ^(.*) http://www.healthable.org$1 permanent;
}
##
@iamkingsleyf
iamkingsleyf / default.conf
Created Nov 24, 2015
default nginx + hhvm conf
View default.conf
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@iamkingsleyf
iamkingsleyf / domain.conf
Last active Jun 11, 2016
nginx hhvm configuration
View domain.conf
##
# 301 redirect conf
##
server {
listen 80;
server_name www.citymp3.xyz;
rewrite ^(.*) http://citymp3.xyz$1 permanent;
}
##
View mynginx-conf2
##
# 301 redirect settings
##
server {
listen 80;
server_name healthable.org;
rewrite ^(.*) http://www.healthable.org$1 permanent;
}
View mynginx-conf
##
# 301 redirect settings
##
server {
listen 80;
server_name healthable.org;
rewrite ^(.*) http://www.healthable.org$1 permanent;
}
View nginx-site.conf
# WordPress website: Healthable
#Redirect NON www to www for www.healthable.org
server {
listen 80;
server_name healthable.org;
return 301 http://www.healthable.org$request_uri;
}
# the server directive is nginx's virtual host directive.
@iamkingsleyf
iamkingsleyf / putty-gce.md
Created Oct 9, 2015 — forked from feczo/putty-gce.md
How to use Compute Engine - GCE with putty
View putty-gce.md
@iamkingsleyf
iamkingsleyf / nginx.conf
Created Oct 8, 2015 — forked from markjaquith/nginx.conf
My WordPress Nginx setup
View nginx.conf
upstream phpfpm {
server unix:/var/run/php5-fpm.sock;
}
upstream hhvm {
server unix:/var/run/hhvm/hhvm.sock;
}
# SSL
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
@iamkingsleyf
iamkingsleyf / tutorial.md
Created Oct 8, 2015 — forked from dlsniper/tutorial.md
How to build nginx from sources on Ubuntu
View tutorial.md
export LANGUAGE="en_US.UTF-8" 
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
locale-gen en_US.UTF-8 
dpkg-reconfigure locales

apt-get install unzip libpcre3 libpcre3-dev libssl-dev libpcrecpp0 zlib1g-dev debhelper dh-systemd libgeoip-dev autotools-dev libgd2-noxpm-dev libluajit-5.1-dev libmhash-dev libpam0g-dev libperl-dev po-debconf libexpat-dev libxslt1-dev
You can’t perform that action at this time.