nginx反向代理
1、安装prec
2、安装nginx
3、配置nginx
server
{
listen 80;
server_name blog.gezier.com;
location / {
proxy_pass http://blog.gezier.com;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|js|html|htm|css)$ {
expires 365d;
root /var/nginx_cache/blog.gezier.c...
01月9日, 2015
1、安装prec
2、安装nginx
3、配置nginx
server
{
listen 80;
server_name blog.gezier.com;
location / {
proxy_pass http://blog.gezier.com;
}
location ~...