1Panel安装OpenResty

查看到就说明安装成功

部署项目

在http中添加:
server {
listen 8001; //端口号
server_name localhost;
location / {
root /admin; //项目路径
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
项目路径挂载

我的路径是 根目录的admin文件夹

ip+端口 访问既可



















