飞比寻常 (JOE) 生,简单,活,简单,生活,不简单!
JOE个人网站
JOE个人网站,不仅仅是一个网站,更像是一个展现自我的平台,致力于让朋友们都可以
有所感触,有所收获。
/alidata/server/nginx/conf/vhosts/server.conf server { listen 80; server_name www.dreamswood.com; rewrite "^/activity$" /activity/ last; rewrite "^((?!/activity/?|/dci_user/?|/api/?|/service/?).*)" /dci_user/$1 last; index index.php index.html index.htm; root /alidata/www/dci; error_page 404 /404.html; location /api/vvpinche { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://10.50.2.66/service/vvpinche; add_header Cache-Control 'no-store'; } location ~ .*\.(php|php5)?$ { #fastcgi_pass unix:/tmp/php-cgi.sock; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_intercept_errors on; include fastcgi.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 1h; } include /alidata/server/nginx/conf/rewrite/phpwind.conf; access_log /alidata/log/nginx/access/phpwind.log; }