1,422 reputation
1517
bio website tinywp.in
location Rajapalayam, India
age 36
visits member for 3 years
seen Jul 9 at 9:46
  • WordPress Performance Optimization Consultant!
  • WordPress Hosting Solutions Provider!

Check out my (not so) tiny WordPress blog for tips, techniques, solutions on performance, scalability, etc for WordPress powered sites. Mostly, I write about Nginx, Varnish, PHP-FPM, caching and hosting. You may also find me helping others in WPSE and in WordPress.org forums.


Jan
2
comment Varnish, Nginx & SSL
While Varnish doesn't support SSL, it can be used along with Nginx and SPDY. For such a setup, the server stack would look like... Nginx (for SSL termination) => Varnish (for caching) => Nginx (as a simple web server) => application. I hope that helps!
Nov
6
comment How can I set up Varnish to cache only static content?
What have you tried so far?
Nov
4
comment Cache Busting and Include Files for Nginx
If someone's answer helped to arrive at the solution, remember to upvote and / or select it as the best answer!
Oct
29
comment Bash -x to file and email
Can you get some idea from gnu.org/software/bash/manual/html_node/Redirections.html ?
Oct
28
comment nginx codeigniter rewrite: Controller name conflicts with directory
Can you post your Apache rewrites?
Oct
28
comment Add separate domain name to Wordpress admin area with htaccess
` Can this be done with Wordpress?` No, this can't be done with WordPress.
Oct
28
comment NGINX SSL Certificate Not Working
Have you opened port 443 in your firewall?
Oct
27
comment Multiple SSL vhosts using wildcard certificate in nginx
This wouldn't work. A vhost needs ssl_certificate and ssl_certificate_key that should be configured inside server or http location. In your example, you have declared it inside the first server location, but didn't declare it for the other two vhosts.
Oct
27
comment Images don't display but can see them using their URLs
Welcome to ServerFault, Maaz! all these images have the 777 permission Please never set 777.
Oct
25
comment Nginx redirect one path to another
Using if along with return directive is perfectly fine. See wiki.nginx.org/IfIsEvil . Yes, IMO, it's better than using rewrite.
Oct
25
comment Nginx redirect one path to another
Nope. It won't. If you really want to retain any queries upon permanent redirects, see this little trick... gist.github.com/pothi/7152399
Oct
25
comment What are the IPv6 Public and Private and Reserved ranges
Welcome to ServerFault! Instead of linking to another question in ServerFault, you may flag a question as a duplicate (after you get that privilege, of course).
Oct
25
comment Nginx + Nagios : 502 Bad gateway
Configuring Nagios in Apache may be straightforward as mentioned in that Linode article. It isn't the same with Nginx. You may have a look at this sample configuration (gist.github.com/mrbichel/1754118) and customize it for your specific use-case.
Oct
25
comment Nginx - Adding a trailing slash to urls on HTTPS
Odd indeed. Please try if ($uri !~* "/$") { return 301 $scheme://domainname.tld$uri/; } instead of the rewrites.
Oct
25
comment Nginx - Adding a trailing slash to urls on HTTPS
Enable rewrite_log in Nginx and see why it doesn't work!
Oct
25
comment Wordpress serving PHP but not CSS or JS
CSS and JS files are not loading at all What status code do they throw? 404, 500, 200? Can you access the site at blog.yoursite.com? Have you checked the logs from Apache, PHP, & WordPress? If you haven't, you may enable debugging in Apache, PHP, & WordPress as well.
Oct
25
comment Safely run two versions of Nginx
While you can install & run two version of Nginx from two locations, they can't have the same value for listen directive! The OS can't allocate the same port to two Nginx versions.
Oct
24
comment Redirection and SSL
This is not a forum at all. I'd recommend you to read through serverfault.com/about .
Oct
12
comment Restrict apache backend access to nginx reverse-proxy only?
You can start with a simple firewall (rules) such as mentioned at wiki.centos.org/HowTos/Network/IPTables .
Oct
12
comment Restrict apache backend access to nginx reverse-proxy only?
Actually, you'd need work with your firewall to block access to port 8080. It is not something that you should work at Apache / Nginx level. What OS you use? In Debian / Ubuntu, there is UFW. Ref: help.ubuntu.com/community/UFW .