标签:bsp info class html code lis css host include
server { listen 80; server_name local.*****.com; index index.html index.htm index.php; root /home/wwwroot/******/public; #error_page 404 /404.html; include enable-php-pathinfo.conf; location /nginx_status { stub_status on; access_log off; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 12h; } location ~ /\. { deny all; } location / { if (!-e $request_filename) { //~~~~访问可以不加index.php rewrite ^(.*)$ /index.php?s=/$1 last; } } access_log /home/wwwlogs/access_dexin.log; }
标签:bsp info class html code lis css host include
原文地址:https://www.cnblogs.com/pansidong/p/9706683.html