Allen Hua

Talk about my habit of going to bed late and the reason why I realized that I took a shower early

Original link: https://hellodk.cn/post/1131 In recent years, my habit of staying up late has not improved, but has worsened. Today I realized a reason-that is, I take a shower too late at night. At 8:30 tonight, by mosquitoes After taking a few bites, I ordered the mosquito coil I just bought the day before yesterday. The …

Talk about my habit of going to bed late and the reason why I realized that I took a shower early Read More »

Configure the ShadowsocksR Plus+ server to access home services outside

Original link: https://hellodk.cn/post/1130 There are really several ke learning software on OpenWrt: ShadowsocksR Plus+ OpenClash PassWall Shell Clash I liked to use PassWall before, and I also used OpenClash for a while, but now I like ShadowsocksR Plus+, which will be referred to as ssrplus+ in the future. The transparent proxy that has deployed clash …

Configure the ShadowsocksR Plus+ server to access home services outside Read More »

What can we do to protect privacy on the Internet? Share my thoughts and the link-cleaner I bring

Original link: https://hellodk.cn/post/1101 Two days ago, v2ex had a post about an attempt to protect the privacy of contact information online , which aroused my thinking. It is true that the current environment is collecting privacy. In the past few years, major apps were still very popular and various summaries were made at the end …

What can we do to protect privacy on the Internet? Share my thoughts and the link-cleaner I bring Read More »

Make a squoosh docker image, write blog textures and directly compress files locally, which is safe and efficient

Original link: https://hellodk.cn/post/1077 The mirror is dko0/squoosh:1.12.0 or dko0/squoosh:latest . docker hub: https://hub.docker.com/r/dko0/squoosh GitHub: https://github.com/hellodk34/squoosh Safe, pictures are only in the local browser and will not be uploaded to any server Efficient, Squoosh compression efficiency is amazing, but the picture quality is not lost much, with various compression options and quality settings, a high degree …

Make a squoosh docker image, write blog textures and directly compress files locally, which is safe and efficient Read More »

http redirect to https for nginx regular and unconventional ports

Original link: https://hellodk.cn/post/1074 standard port The regular port is very simple, use two server blocks, one listens to 80 for jumping, and one listens to 443 for actual serving server { listen 80 default_server; server_name xxx.example.com; return 301 https://$server_name$request_uri; } server { listen 443 ssl http2; server_name xxx.example.com; ssl_certificate /path/to/fullchain.pem; ssl_certificate_key /path/to/privkey.pem; ssl_trusted_certificate /path/to/chain.pem; … …

http redirect to https for nginx regular and unconventional ports Read More »

Remember the Uncaught TypeError: Cannot read properties of null (reading ‘wan’) problem encountered by the OpenWrt luci page using the public IP nginx reverse proxy

Original link: https://hellodk.cn/post/1072 Searched the whole network, only this link ( https://forum.openwrt.org/t/solved-luci-overview-page-has-blank-fields/16967 ) is similar. But when I use the domain name mapped by frp to visit the homepage, these fields can be displayed normally. I saw that the interface returns are all 200, and the response is also normal. mine is as follows You …

Remember the Uncaught TypeError: Cannot read properties of null (reading ‘wan’) problem encountered by the OpenWrt luci page using the public IP nginx reverse proxy Read More »

OpenWrt install and configure Tencent Cloud dynamic dns dnspod tencent ddns

Original link: https://hellodk.cn/post/1060 Plugin open source address https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-ddns Enter the openwrt background, go to “System” -> “Packages” and paste this uri in the input box of “Download and Install Software Packages” http://openwrt-tencentddns-1301800460.cos.ap-guangzhou.myqcloud.com/luci-app-tencentddns_0.1.0-1_all.ipk and then click to confirm, if there is no error in general, the tencent ddns containing luci is installed, refresh the page as …

OpenWrt install and configure Tencent Cloud dynamic dns dnspod tencent ddns Read More »

Solve the SeafDAV: MOVE returns 502 Bad Gateway error caused by the webdav connection seafile cannot rename the file, etc.

Original link: https://hellodk.cn/post/1048 This article uses docker-compose to build seafile server (Server Version: 9.0.5 I am using at this time). The compose file is as follows, refer to the official https://docs.seafile.com/d/cb1d3f97106847abbf31/files/?p=/ docker/docker-compose.yml version: ‘2.0’ services: db: image: mariadb:10.5 container_name: seafile-mysql environment: – MYSQL_ROOT_PASSWORD=123456 # Requested, set the root’s password of MySQL service. – MYSQL_LOG_CONSOLE=true volumes: …

Solve the SeafDAV: MOVE returns 502 Bad Gateway error caused by the webdav connection seafile cannot rename the file, etc. Read More »

Turn off the firewall that comes with Tencent Cloud Lightweight Application Server, and install ufw (or other) to manage the firewall of the server

Because the firewall of Tencent Cloud Lightweight Application Server runs outside the Linux system. So when you deploy a service on a Linux server, if the port is 8082, you can only go to the console.cloud.tencent.com web and add the corresponding rules for 8082 tcp. What if I don’t want to log in to Tencent …

Turn off the firewall that comes with Tencent Cloud Lightweight Application Server, and install ufw (or other) to manage the firewall of the server Read More »