1. 程式人生 > >大發彩票盤口平臺,帶獨立代理後臺thinkphp5.0配置nginx重寫規則

大發彩票盤口平臺,帶獨立代理後臺thinkphp5.0配置nginx重寫規則

bmp one http serve 界面 otl con list thinkphp5

大發彩票盤口平臺,帶獨立代理後臺thinkphp5.0配置nginx重寫規則
程序源碼參數說明:

運行環境:php5.2+mysql

界面語言:簡體中文

源碼授權:無加密文件及認證授權,永久性可直接使用。

版本支持:PC/WAP網頁版

編程語言:PHP

手機版獨家對接的,完整無錯! 此源碼經過測試人員實測截圖,保證100%和截圖一致!!!

server {
listen 80; #端口號
server_name demo.aa.com; #域名
access_log /data/rootlogs/demo.aa.com_nginx.log combined;#日誌
index index.html index.htm index.php;

root /data/root/default/public/; #路徑

include /usr/local/nginx/conf/rewrite/none.conf;
#error_page 404 /404.html;
#error_page 502 /502.html;

location ~ [^/].php(/|$) {
#fastcgi_pass remote_php_ip:9000;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;

break;
}
}

location ~ ..(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {
expires 30d;
access_log off;
}
location ~ .
.(js|css)?$ {
expires 7d;
access_log off;
}
location ~ /.ht {
deny all;
}
}

大發彩票盤口平臺,帶獨立代理後臺thinkphp5.0配置nginx重寫規則