Server
服务器相关问题
愤怒的coder
这个作者很懒,什么都没留下…
展开
-
【小程序】http does not allow unlinking——后台php删除文件报错
报错信息:后台代码:<?php$path = $_REQUEST['path'];$url = iconv('utf-8','gbk',$path);if(PATH_SEPARATOR == ':'){ unlink($path);}else{ unlink($url);}?>这里传入的path是绝对路径,也就是以https || http 开...原创 2019-12-10 21:05:46 · 1116 阅读 · 0 评论 -
Nginx配置https(nginx.conf) https与http并存实现
准备工作:拿到属于你的ssl证书和密钥 我是在https://freessl.cn/申请的,拿到之后上传到服务器中,记下路径找到nginx配置文件nginx.conf文件具体在哪每个人安装的路径不同,这里就不再说了,网上很多教程。//nginx.confuser www www;worker_processes auto;error_log /www/wwwlogs/...原创 2019-11-26 16:40:46 · 1883 阅读 · 0 评论