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 / 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 gist:6866d55e5eccb70787aa63063b2842c1
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name example.com www.example.com;
@iamkingsleyf
iamkingsleyf / link-list
Created Apr 20, 2016
side by side adsense link list for 200x90
View link-list
View mynginx-conf2
##
# 301 redirect settings
##
server {
listen 80;
server_name healthable.org;
rewrite ^(.*) http://www.healthable.org$1 permanent;
}
@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.
#
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;
You can’t perform that action at this time.