Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
Alive.

Phoenix Nemo phoenixlzx

🙃
Alive.
View GitHub Profile
@quietlynn
quietlynn / js_index.md
Last active Oct 17, 2017
JavaScript交流记录索引
View js_index.md
@elivz
elivz / wordpress-w3tc-site.conf
Created Mar 20, 2011
Nginx configuration for WordPress with W3 Total Cache plugin. See http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/
View wordpress-w3tc-site.conf
server {
# Redirect yoursite.com to www.yoursite.com
server_name yoursite.com;
rewrite ^(.*) http://www.yoursite.com$1 permanent;
}
server {
# Tell nginx to handle requests for the www.yoursite.com domain
server_name www.yoursite.com;
You can’t perform that action at this time.