Nginx域名配置(thinkphp伪静态)

server {
listen 80;
server_name c.com www.c.com;
root "/data/wwwroot/c.com";
location / {
index index.php index.html index.htm;

autoindex on;

         if (!-e $request_filename) {
           rewrite  ^(.*)$  /index.ph...<span class="readmore"><a href="https://jiachunkuan.com/post-21.html">阅读全文&rarr;</a></span>

chunkuan 发布于 2016-09-18 01:47