大旗谷资源网 Design By www.zqyou.com
后端用的thinkphp3.2.3框架,如果您是其他的语言或者,注意适当修改下
server { listen 80; server_name www.morgen.club; #charset koi8-r; #access_log logs/host.access.log main;
网站根目录
location / { root html; index index.html index.htm; #设置访问设备 set $source_device 'index'; #判断为手机客户端或ipad if ($http_user_agent ~* (mobile|nokia|iphone|ipad|android|samsung|htc|blackberry)) { set $source_device 'phone'; } #根目录 if ($request_uri ~* ^/$){ rewrite ^(.*)$ /index.php"htmlcode">location /web { root html; index index.html index.htm; #如果设备为手机或ipad if ($http_user_agent ~* (mobile|nokia|iphone|ipad|android|samsung|htc|blackberry)) { rewrite ^/web(.*) /phone$1 permanent; } #电脑首页搜索 if ($request_uri ~ ^/web/search(.*)$) { rewrite ^(.*) /index.php"htmlcode">location /phone { root html; index index.html index.htm; #如果设备不是手机或ipad if ($http_user_agent !~* (mobile|nokia|iphone|ipad|android|samsung|htc|blackberry)) { rewrite ^/phone(.*) /web$1 permanent; } #电脑首页搜索 if ($request_uri ~ ^/phone/search(.*)$) { rewrite ^(.*) /index.php?s=/Home/phone/index.html last; break; } #手机首页 set $index false; if ($request_uri ~* ^/phone$) { set $index true; } if ($request_uri ~* ^/phone/$) { set $index true; } if ($index = true){ rewrite ^/phone(.*) /index.php?s=/Home/phone/index.html last; break; } #手机首页分页 set $index_page false; if ($request_uri ~* ^/phone/pages/(\d*)$) { set $index_page true; } if ($request_uri ~* ^/phone/pages/(\d*)/$) { set $index_page true; } if ($index_page = true){ rewrite ^/phone/pages/(\d*)(.*) /index.php?s=/Home/phone/index/page/$1.html last; break; } #手机分类首页 set $cate false; if ($request_uri ~* ^/phone/cates/(\d*)$) { set $cate true; } if ($request_uri ~* ^/phone/cates/(\d*)/$) { set $cate true; } if ($cate = true){ rewrite ^/phone/cates/(\d*) /index.php?s=/Home/phone/index/cate/$1.html last; break; } #手机分类分页 set $cate_page false; if ($request_uri ~* ^/phone/cates/(\d*)/pages/(\d*)$) { set $cate_page true; } if ($request_uri ~* ^/phone/cates/(\d*)/pages/(\d*)/$) { set $cate_page true; } if ($cate_page = true){ rewrite ^/phone/cates/(\d*)/pages/(\d*)(.*) /index.php?s=/Home/phone/index/cate/$1/page/$2.html last; break; } #手机书籍页面 set $book false; if ($request_uri ~* ^/phone/books/(\d*)$) { set $book true; } if ($request_uri ~* ^/phone/books/(\d*)/$) { set $book true; } if ($book = true){ rewrite ^/phone/books/(\d*)(.*) /index.php?s=/Home/phone/books/book/$1.html last; break; } #手机书籍分页页面 set $book false; if ($request_uri ~* ^/phone/books/(\d*)/pages/(\d*)$) { set $book true; } if ($request_uri ~* ^/phone/books/(\d*)/pages/(\d*)/$) { set $book true; } if ($book = true){ rewrite ^/phone/books/(\d*)/pages/(\d*) /index.php?s=/Home/phone/books/book/$1/page/$2.html last; break; } #手机章节页面 set $chapter false; if ($request_uri ~* ^/phone/books/(\d*)/chapters/(.*)$) { set $chapter true; } if ($request_uri ~* ^/phone/books/(\d*)/chapters/(.*)/$) { set $chapter true; } if ($chapter = true){ rewrite ^/phone/books/(\d*)/chapters/(.*)/ /index.php?s=/Home/phone/contents/books/$1/chapters/$2.html last; break; } if (!-e $request_filename) { return 404; } } location ~ .xml(.*) { root html/ttt/; } location ~ .txt(.*) { root html/ttt/; } location ~ .gif(.*) { root html/ttt/; } location ~ .jpg(.*) { root html/ttt/; } location ~ .css(.*) { root html/ttt/; } location ~ .js$ { root html/ttt/; } location ~ .php$ { root html/ttt; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_buffers 8 256k; fastcgi_connect_timeout 300s; fastcgi_send_timeout 300s; fastcgi_read_timeout 300s; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
大旗谷资源网 Design By www.zqyou.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
大旗谷资源网 Design By www.zqyou.com
暂无nginx配置伪静态和适配客户端的方法步骤的评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年10月19日
2024年10月19日
- 群星《歌手2024 第4期》[FLAC/分轨][563.76MB]
- RiffKitten-ChaosParade(2024)[24-44,1]FLAC
- RuneKlakegg-Nattevandrer(2024)[24-96]\FLAC
- 赖冰霞.2006-金嗓典藏辑2IN1(南方金点系列)2CD【南方】【WAV+CUE】
- 群星.1988-国语金曲尽精英VOL.2【瑞成】【WAV+CUE】
- 张宇.1999-雨一直下【EMI百代】【WAV+CUE】
- 袁娅维.2021-月亮失眠了(DELUXE)【华纳】【FLAC分轨】
- AlanBroadbent-JazzFunk(2024)[24-44,1]
- 梅艳芳《绝代芳华》开盘母带[低速原抓WAV+CUE]
- ABC唱片-《外国精逊母带直刻神奇黑胶[APE+CUE].
- 群星《天赐的声音第五季 第6期》[320K/MP3][101.43MB]
- 群星《天赐的声音第五季 第6期》[FLAC/分轨][526.16MB]
- 群星《说唱梦工厂 第2期》[320K/MP3][96.37MB]
- 杨宗宪.1994-留你留袂着【有容唱片】【WAV+CUE】
- 李翊君.2005-勇敢的爱【创意唱片】【WAV+CUE】