默认分类
未读
申请网站https证书
申请前准备 服务器CentOS 7.9,公网可访问http//+域名 使用 Nginx 代理 一、安装 Certbot(Let’s Encrypt 客户端) sudo yum install epel-release -y
sudo yum install certbot python2-certb
默认分类
未读
从打包到部署前端项目
1. 服务器增加nginx配置文件 vim /etc/nginx/conf.d/site.conf 内容如下: server {
listen 80;
listen [::]:80;
server_name xxx; # 域名或ip
location /
默认分类
未读
pm2打包node项目部署
pkg打包项目 https://github.com/vercel/pkg#readme 项目使用 dotenv加载.env配置 require('dotenv').config() PORT=3000
# jwt secret
JWT_SECRET=ABCDabcd12345678
默认分类
未读
centos 7.9 docker环境安装
docker官网 https://docs.docker.com/engine/install/centos/ 1.安装docker 卸载旧的所有版本 sudo yum remove docker \
docker-client \
默认分类
未读
阿里云centos node git 环境搭建
系统依赖更新 yum update -y 安装git yum install git -y 安装nvm git clone https://gitee.com/mirrors/nvm.git
默认分类
未读
Taro ios输入框光标问题
小程序taro项目中,ios手机输入框将光标移入到中间位置,此时输入或删除,光标会跳到最后 Input 增加属性cursor={-1} <Input type='text' cursor={-1} />