Posts

神先爱了我们

Image
当那日,我必为我的民,与田野的走兽和空中的飞鸟,并地上的昆虫立约;又必在国中折断弓刀,止息争战,使他们安然躺卧。  (何西阿书 2:18 和合本) In that day I will make a covenant for them with the beasts of the field, the birds in the sky and the creatures that move along the ground. Bow and sword and battle I will abolish from the land, so that all may lie down in safety.  (Hosea 2:18 NIV) 我必聘你永远归我为妻,以仁义、公平、慈爱、怜悯聘你归我;  (何西阿书 2:19 和合本) I will betroth you to me forever; I will betroth you in righteousness and justice, in love and compassion.  (Hosea 2:19 NIV) 也以诚实聘你归我,你就必认识我—耶和华。 (何西阿书 2:20 和合本) I will betroth you in faithfulness, and you will acknowledge the Lord .  (Hosea 2:20 NIV) 耶和华说:那日我必应允,我必应允天,天必应允地; (何西阿书 2:21 和合本) “In that day I will respond,” declares the Lord — “I will respond to the skies, and they will respond to the earth;  (Hosea 2:21 NIV) 地必应允五谷、新酒,和油,这些必应允耶斯列民(耶斯列就是 神栽种的意思) 。 (何西阿书 2:22 和合本) and the earth will respond to the grain, the new wine and the olive oil, and they will respond to Jezreel. ...

The best way to force http request redirect to https in nginx

Image
Use 301 redirect.   server { listen 80; server_name blog.errong.win; return 301 https://$server_name$request_uri; } server { listen 80; server_name freevpn.errong.win; return 301 https://$server_name$request_uri; } server { listen 80; server_name www.errong.win errong.win; return 301 https://$server_name$request_uri; } server { listen 443 ssl; ssl_certificate /etc/letsencrypt/live/errong.win/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/errong.win/privkey.pem; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; server_name ~^(.+)?\.errong\.win$; #charset koi8-r; #access_log logs/host.access.log main; location / { root vhosts/$1; index index.html index.htm; ...

How to enable https of your websites with Let's Encrypt CA via nginx

Image
To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let's Encrypt is a CA, the most famous free CA. https://letsencrypt.org/getting-started/

How to config multi servers(second domain name server) with one server {} in your nginx.conf

Image
config sample: server {     listen       80;     server_name  ~^(.+)?\.errong\.win$;     if ($host = errong.win) {         rewrite ^ http://www.errong.win permanent;     }     #charset koi8-r;     #access_log  logs/host.access.log  main;     location / {         root   vhosts/$1;         index  index.html index.htm;     } }

义人的祷告必蒙应允 耶稣基督是中保

Image
他对我说:“大蒙眷爱的但以理啊,要明白我与你所说的话,只管站起来,因为我现在奉差遣来到你这里。”他对我说这话,我便战战兢兢地立起来。  (但以理书 10:11 和合本) He said, “Daniel, you who are highly esteemed, consider carefully the words I am about to speak to you, and stand up, for I have now been sent to you.” And when he said this to me, I stood up trembling.  (Daniel 10:11 NIV) 他就说:“但以理啊,不要惧怕!因为从你第一日专心求明白将来的事,又在你 神面前刻苦己心,你的言语已蒙应允;我是因你的言语而来。  (但以理书 10:12 和合本) Then he continued, “Do not be afraid, Daniel. Since the first day that you set your mind to gain understanding and to humble yourself before your God, your words were heard, and I have come in response to them.  (Daniel 10:12 NIV) 他说:“大蒙眷爱的人哪,不要惧怕,愿你平安!你总要坚强。”他一向我说话,我便觉得有力量,说:“我主请说,因你使我有力量。”  (但以理书 10:19 和合本) “Do not be afraid, you who are highly esteemed,” he said. “Peace! Be strong now; be strong.” When he spoke to me, I was strengthened and said, “Speak, my lord, since you have given me strength.”  (Daniel 10:19 NIV)

Set up ikev2 VPN on your Google Compute Engine via strongswan

Accually, There is one key set up scripts, algo . Algo supports DigitalOcean (most user friendly), Amazon EC2 , Google Compute Engine , and Microsoft Azure . Install strongswan: sudo apt-get install strongswan strongswan-plugin-eap-mschapv2 strongswan-plugin-xauth-generic errong_leng@freevpn:~$ ipsec version Linux strongSwan U5.3.5/K4.8.0-51-generic Institute for Internet Technologies and Applications University of Applied Sciences Rapperswil, Switzerland See 'ipsec --copyright' for copyright information.
Image
不可跪拜那些像,也不可事奉它,因为我耶和华—你的 神是忌邪的 神。恨我的,我必追讨他的罪,自父及子,直到三四代;  (出埃及记 20:5 和合本) You shall not bow down to them or worship them; for I, the Lord your God, am a jealous God, punishing the children for the sin of the parents to the third and fourth generation of those who hate me,  (Exodus 20:5 NIV) 爱我、守我诫命的,我必向他们发慈爱,直到千代。 (出埃及记 20:6 和合本) but showing love to a thousand generations of those who love me and keep my commandments.  (Exodus 20:6 NIV) 尼布甲尼撒问他们说:“沙得拉、米煞、亚伯尼歌,你们不事奉我的神,也不敬拜我所立的金像,是故意的吗?  (但以理书 3:14 和合本) and Nebuchadnezzar said to them, “Is it true, Shadrach, Meshach and Abednego, that you do not serve my gods or worship the image of gold I have set up?  (Daniel 3:14 NIV) 你们再听见角、笛、琵琶、琴、瑟、笙,和各样乐器的声音,若俯伏敬拜我所造的像,却还可以;若不敬拜,必立时扔在烈火的窑中,有何神能救你们脱离我手呢?” (但以理书 3:15 和合本) Now when you hear the sound of the horn, flute, zither, lyre, harp, pipe and all kinds of music, if you are ready to fall down and worship the image I made, very good. But if you do not worship it, y...