【独立版】表情包小程序完整版源码前后端源码-小编推荐

文章 08-18 阅读:5323 评论:0

搭建要求:

1.系统要求Nginx 1.18.0+PHP-7.2+mysql5.6,开启 ssl,php需要安装 sg11 扩展

2.设置伪静态

 
  1. location / {
  2. index index.php index.html index.htm;
  3. if (!-e $request_filename)
  4. {
  5. rewrite ^/(.*)$ /index.php?s=$1;
  6. }
  7. }
  8. location /api/ {
  9. index index.php index.html index.htm;
  10. if (!-e $request_filename)
  11. {
  12. rewrite ^/api/(.*)$ /api/index.php?s=$1;
  13. }
  14. }
  15. location ~* \/upload\/.+\.(html|php)$ {
  16. return 404;
  17. }
  18. location ~* ^\/plugins\/.+\.(html|php)$ {
  19. return 404;
  20. }
  21. location ~* \/themes\/.+\.(html|php)$ {
  22. return 404;
  23. }
点击阅读全文
版权声明

本文仅代表作者观点,不代表本站立场。
文章来源于网络,如有侵权请联系处理,转载请注明来源!

相关推荐