I hereby claim:
- I am dannysheehan on github.
- I am dannys (https://keybase.io/dannys) on keybase.
- I have a public key whose fingerprint is ED3B 7F8F 35BB CD8F CC06 B2B8 C48A 57DD B696 74A8
To claim this, I am signing this object:
#--------------------------------------------------------------------------- | |
# @(#)$Id$ | |
#title :/etc/haproxy/haproxy.cfg | |
#description :ftmon cluster haproxy config. NGINX and XtraDB Cluster backend | |
#author :Danny W Sheehan | |
#date :July 2014 | |
#website :ftmon.org | |
# | |
# This is a work in progress. A lot of trial and error and man hours have | |
# gone into this configuration. I have referenced sources that have been |
static inline u_char *get_rdns_hostname(ngx_http_request_t *r); | |
//ctx->connection->remote_host = NULL; | |
ctx->connection->remote_host = (char *)get_rdns_hostname(r); | |
static inline u_char * | |
get_rdns_hostname(ngx_http_request_t *r){ |
I hereby claim:
To claim this, I am signing this object:
[Galera] | |
title=Galera | |
description=Galera cluster. 'ufw allow from x.x.x.x to any app Galera' to add node x.x.xx to the cluster. | |
# | |
# 4567 - is the port other nodes will use to check if this node is synced | |
# and available to become a donor. | |
# 4568 - is used by snapshot state transfer (SST) i.e. copy of all data. | |
# 4444 - used by rsync. | |
# 3306 - the mysql port | |
# |
#--------------------------------------------------------------------------- | |
# @(#)$Id$ | |
#title :/etc/nginx/common/nginx.conf | |
#description :ftmon cluster nginx common config for all sites. | |
#author :Danny W Sheehan | |
#date :July 2014 | |
#website :ftmon.org | |
# | |
# This is a work in progress. A lot of trial and error and man hours have | |
# gone into this configuration. I have referenced sources that have been |
#--------------------------------------------------------------------------- | |
# @(#)$Id$ | |
#title :/etc/nginx/common/wpcommon.conf | |
#description :ftmon cluster nginx common configurations for Wordpress. | |
#author :Danny W Sheehan | |
#date :July 2014 | |
#website :ftmon.org | |
# | |
# This is a work in progress. A lot of trial and error and man hours have | |
# gone into this configuration. I have referenced sources that have been |
server { | |
listen 127.0.0.1:8080; | |
server_name ftmon.org; | |
port_in_redirect off; | |
return 301 $real_scheme://www.ftmon.org$request_uri; | |
} | |
server { | |
listen 127.0.0.1:8080; |
These are the errors of redirect issues i am having with *some* php based website thumbnail services thumbnailing my site. | |
## HAPROXY errors | |
~~~ | |
[09/Jul/2014:10:27:33.724] backend www (#6) : invalid response | |
frontend www (#2), server php1 (#1), event #3 | |
src 144.76.43.70:51530, session #380, session flags 0x000004ce |
#--------------------------------------------------------------------------- | |
# @(#)$Id$ | |
#title :/etc/nginx/nginx.cfg | |
#description :ftmon cluster nginx config. HAPROXY frontend. | |
#author :Danny W Sheehan | |
#date :July 2014 | |
#website :ftmon.org | |
# | |
# This is a work in progress. A lot of trial and error and man hours have | |
# gone into this configuration. I have referenced sources that have been |
# http://centminmod.com/nginx_configure_wordpress_ffpc_plugin.html#220813 | |
# try to get result from memcached | |
location @memcached { | |
default_type text/html; | |
set $memcached_key data-$real_scheme://$host$request_uri; | |
set $memcached_request 1; | |
# exceptions | |
# avoid cache serve of POST requests |