Contact Menu

Search results for "socialengine nginx configuration sample"


WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…on {…} directives in the nginx.conf created in your public_html root by W3TC, and add them after the location {…} directives described above. You can do this either by copying the directives and pasting into /etc/nginx/nginx.conf, or (better) by using an include statement: […] location ^~ /blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } include /home/username/public_html/nginx.conf; […] […]

Continue Reading 18
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…tories from # filtering SQL etc. This may break your mod_security implementation. # # # # SecRuleInheritance Off # # NginX Edit nginx.conf for the hostname’s server_name website location /phpMyAdmin { root /usr/share/; index index.php; location ~ ^/phpMyAdmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass… 8, 1, 1, 0 and 718.63

Continue Reading 0
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…outs for queries and objects) set apc.mmap_file_mask = /tmp/apc-yourusernamehere.XXXXXX for file-backed mmap; make file mask unique by adding your unique string; XXXXXX (exactly 6 X’s) must remain to allow APC to add random string OR set to /dev/zero for anonymous mmap if you can spare the memory APC Manual: APC Runtime Configuration… 8, […]

Continue Reading 54

Varnish VCL and Config for WordPress with W3 Total Cache

…switch vcl without restart. # To make this work, you need to set the following variables # explicit: VARNISH_VCL_CONF, VARNISH_ADMIN_LISTEN_ADDRESS, # VARNISH_ADMIN_LISTEN_PORT, VARNISH_SECRET_FILE RELOAD_VCL=1 # ## Advanced configuration # # # Main configuration file. VARNISH_VCL_CONF=/etc/varnish/wordpress-varnish3.vcl # # # Default address and port to bind to # # Blank address means all IPv4 and IPv6 interfaces, […]

Continue Reading 23

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…// phpMyAdmin 3.5+: Status Monitor and Advisor are excellent tools, but require proper phpMyAdmin setup These scripts will analyze MySQL performance and make suggestions regarding your my.cnf configuration. mysqltuner is now deprecated, but it still widely used and is very simple. Tuning Primer is the most up-to-date, and provides more complete recommendations. If you are […]

Continue Reading 9

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading
Screen Shot 2013-04-19 at 6.32.51 PM

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…a cohort of replicated database servers to only allow traffic from within the virtual cloud. Likewise, one could create a cloud group with public facing, load-balanced Varnish reverse proxies that interact with an Apache or NginX app server, and that app server connects to the database cohort. The only publicly-accessible servers would be the web […]

Continue Reading 1
TEDxChattanooga website screenshot

TEDx Event Website

…d for TEDxToronto. I made a few tweaks and improvements to better fit our event, and worked with April Cox from UT Chattanooga to dial in the design and architecture. Developed on an Amazon EC2+Ubuntu+Webmin server running a Nginx+MySQL+PHP-FPM stack, the site should handle plenty of traffic, and can be scaled up to meet spikes […]

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0