1、nginx 配置

server {
    listen       80;
    server_name  laravel5-test.d.com;

charset utf-8;

location / {
        root   D:/***/www/test/laravel55-test/public;
        index  index.php index.html index.htm;
    }
    
    location / {
     try_files $uri $uri/ /index.php?$query_string;
    }
    
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }

location ~ \.php$ {
        root           D:/***/www/test/laravel55-test/public;
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

}

2、composer  install

3、php artisan key:generate

参考:

https://blog.csdn.net/jimliu004/article/details/45154981

https://blog.csdn.net/qq_25615395/article/details/79554863

最新文章

  1. QR code 扩展生成二维码
  2. java中的权限修饰符的理解
  3. HashTable 简述
  4. 代码演示 .NET 4.5 自带的 ReadonlyCollection 的使用
  5. 记Flume-NG一些注意事项(不定时更新,欢迎提供信息)
  6. Scanner 和 String 类的常用方法
  7. P1541 乌龟棋
  8. [wikioi]装箱问题
  9. 九度OJ 1525 子串逆序打印 -- 2012年Google校园招聘笔试题目
  10. win32程序中简单应用mfc
  11. google在线測试练习题1
  12. 阿里云ECS每天一件事D4:安装mysql5.5.40
  13. AngularJS中使用的表单验证
  14. Codeforces Round #541 (Div. 2)题解
  15. JavaScript字符集
  16. Win10+Ubuntu 二三事
  17. requests SSLError: hostname 'ccc.xxx.com' doesn't match '*.b0.upaiyun.com'
  18. 解决Eclipse中DDMS一直打印输出Connection attempts的问题
  19. python 文本特征提取 CountVectorizer, TfidfVectorizer
  20. js判断只能输入数字或小数点

热门文章

  1. Python参数类型以及实现isOdd函数,isNum函数,multi函数,isPrime函数
  2. vim 下修改tab键为四个空格
  3. 洛谷 P2602(数位DP)
  4. PVANET: Deep but Lightweight Neural Networks for Real-time Object Detection
  5. [IDA]系统注释给改掉
  6. 动态SQL屏幕条件选择(里面还有赋值的新语法)
  7. python连接sqlserver工具类
  8. ArrayList、LinkedList和Vector的源码解析,带你走近List的世界
  9. 这可能最简单的一种PS图片特效,零基础小白教程
  10. 移动端适配方案(rem+flex)