Skip to content

Instantly share code, notes, and snippets.

@liruqi
Created November 24, 2014 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liruqi/6928877128e68d312c91 to your computer and use it in GitHub Desktop.
Save liruqi/6928877128e68d312c91 to your computer and use it in GitHub Desktop.
cl.liruqi.info config
server {
server_name cl.liruqi.info;
error_log /var/log/nginx/cl.liruqi.info.error.log;
access_log /var/log/nginx/cl.liruqi.info.access.log;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://t66y.com/;
# sub_filter t66y.com cl.liruqi.info;
sub_filter_once off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment