华风 发表于 2018-12-11 09:52:45

laravel-nginx 配置隐藏index.php-wx5acf485188805的博客

  server {
  listen 80;
  server_name localhost;
  #charset koi8-r;
  #access_log logs/host.access.log main;
  root "D:/phpStudy/WWW/xxx.com/public";
  location / {
  index index.html index.htm index.php l.php;
  autoindex on;
  if (!-e $request_filename) {
  rewrite ^/(.*)$ /index.php/$1;
  }
  }
  }

页: [1]
查看完整版本: laravel-nginx 配置隐藏index.php-wx5acf485188805的博客