sparticus13
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can't login wp-login.php The connection was resetI tested from another system outside of my home network and realized it worked fine to login. In the end my home Sonicwall firewall was blocking it in the IPS services. Under LOW category there is a signature for the wp-login.php. I had to disable this. There is nothing actually wrong with my file but the sonicwall had been configured to stop the logins.
Forum: Fixing WordPress
In reply to: Can't login wp-login.php The connection was resetHere is he HAproxy config.
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
pidfile /var/run/haproxy.pid
daemon
user www-data
group www-data
stats socket /tmp/haproxy.socket user www-data group www-data mode 600 level admin
node HAPROXY-s9s1
description HAPROXY-s9s1#* Performance Tuning
maxconn 40000
spread-checks 3
quiet
tune.ssl.default-dh-param 4096
defaults
#log global
mode tcp
option dontlognull
option tcp-smart-accept
option tcp-smart-connect
retries 3
option redispatch
maxconn 40000
timeout check 3500ms
timeout queue 3500ms
timeout connect 3500ms
timeout client 120s
timeout server 120s
stats enable
stats uri /haproxy_stats
stats realm Haproxy\ Statistics
stats auth admin:*************listen admin_page 0.0.0.0:9600
mode http
balance
stats enable
stats refresh 60s
stats uri /haproxy_stats
stats realm HAProxy\ Statistics
stats auth admin:*************
stats admin if TRUElisten s9s1_33306_production_SQLcluster
bind *:33306
mode tcp
timeout client 60000ms
timeout server 60000ms
balance leastconn
option httpchk
option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 256 maxqueue 128 weight 100
server 192.168.3.20 192.168.3.20:3306 check
server 192.168.3.21 192.168.3.21:3306 check
server 192.168.3.22 192.168.3.22:3306 checklisten WP-WEBFARM 192.168.3.123:80
mode tcp
option abortonclose
option httpchk OPTIONS * HTTP/1.1\r\nHost:\ www#
balance source
server NODE1 192.168.3.20:80 maxconn 32 weight 1 check inter 2000 fall 2 rise 3
server NODE1 192.168.3.21:80 maxconn 32 weight 1 check inter 2000 fall 2 rise 3
server NODE1 192.168.3.22:80 maxconn 32 weight 1 check inter 2000 fall 2 rise 3Here is the Keepalived config.
vrrp_script chk_haproxy {
script “killall -0 haproxy”
interval 2
weight 2
}vrrp_instance VI_1 {
interface eth0
state MASTER
virtual_router_id 51
priority 100
virtual_ipaddress {
192.168.3.123
}
track_script {
chk_haproxy
}
}