20230201
Fell asleep soon after dinner and woke up at about 10. Watched some live streamings. After 12, bought some noodles on Taobao, including burnt noodle, tantan noodle, etc. Got up at 1 because I felt hungry. Ordered BBQ and they were delivered in 10 minutes. Well, I did say that I was too heavy and thus eager to exercise. But at that time, I didn't have many choices. The BBQ was much less than before, and mostly vegetables. Of course, eating too much salt can also cause problems. However, the noodles I just bought were mostly as salty as BBQ. After that, went back to bedroom to play FIFA. At 4, watched Inter's game and dozed off. After the game was over, played FIFA again and fried some dumplings for breakfast. At about half past 8, played piano and then went to study. Finished four pomodoroes again, one for piano, one for English, one for reading and one for updating https certificates. I thought I can update https certificates in maybe three or five minutes, then I could do some research on no code and low code projects which seem to be popular now. Actually, the company from New York I mentioned long ago is for low code. But the recruiter said they had quite high requirements for spoken English, so they wouldn't contact me for sure. Updating https certificaters took much more time than I expected because when I run certbot as before, I got a 502 badway error. OK, it was obvious that a proxy was necessary. But since certbot was run in docker container, it was a little difficult to set up, I was not sure whether "-e" option would work or not. So I run the same command on my Amazon EC2 instance and got a 524 error. What hell was that? Cloudflare cannot get a response from the original server? My DNS was manged by Cloudflare, then the original server was for what? After some searching, I suddenly remembered that, to setup synapse matrix, I set up an argo tunnel, from my Aliyun ECS instance to Cloudflare. Then some request to certain domain can be direct to my self host services. There was also a setting called SSL/TLS encryption mode, which I set up as "Full mode", meaning that when someone visited my services, Cloudfare would provide https certificates for the connection between browser and Cloudflare, and there would be another https certificates between Cloudflare and my server, as a result, the entire connetion between browser and my server was encrypted. After I changed this setting to "Off", I run the command again and it worked. After dinner, played FIFA as usual and then went to study to sleep. Got up at almost 6 and wrote journal.
评论
发表评论