一个web笔记本
本站demo:长期维护 https://note.ipip.icu
创建: POST /api/create 参数 Text 通过API来创建一个笔记本 返回 一个URL 打开即可访问 更新 POST /api/update 参数 Tag Text 通过API来更新一个已经存在笔记本的内容
location / { proxy_pass http://127.0.0.1:23456; #携带域名 proxy_set_header Host $host; }
cat > /data/note/conf/application.yml << EOF note: serverPort: 8080 keylength: 6 type: 1 #type 0启用mysql 1启动redis mysqlUrl: mysql.com:3306 mysqlUsername: root mysqlPassword: 123456 mysqlDatabasename: notes timezone: Asia/Shanghai redisUrl: 192.168.8.8:6379 redisPassword: xayf redisDatabaseNum: 1 EOF