nginx
来源:互联网 发布:sql语句定义变量 编辑:程序博客网 时间:2024/05/18 05:31
server { listen 80; server_name zxr.com www.zrx.com; # 静态页面目录 root html/zrx;# 默认首页index index.html; location / {# 用户浏览器端的缓存设置location ~* \.(css|js|jpg|jpeg|gif|png|swf|html|htm|json|xml|svg|woff|ttf|eot|map|icon)$ {expires 1h;if(-f $request_filename) { break;}} # 动态页面 if(!-e $request_filename) { proxy_pass http://127.0.0.1:8088;} } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; }}
0 0
- nginx
- Nginx
- Nginx
- Nginx
- Nginx
- nginx
- nginx
- nginx
- nginx
- nginx
- nginx
- nginx
- nginx
- Nginx
- nginx
- nginx
- nginx
- nginx
- Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into
- 新建虚拟机安装linux系统(CentOS7)
- 判断网络请求
- 最小生成树-prim
- Android Studio 简单的NDK开发
- nginx
- Exynos4412时钟体系分析
- lp_solve lpsolve java MAC osx
- web应用中集成Ireport
- office2003、2010、2013下载资源
- Android 播放网络音频
- CS224d-Lecture8
- 使用android的系统API报错:找不到符号
- 压缩图片无bug版