Restore Real IP in Nginx Reverse Proxy
Compile Nginx with real ip module. The origin server will then be able to get the real ip address from...
Compile Nginx with real ip module. The origin server will then be able to get the real ip address from...
参考文献:Nginx Google 扩展中关于从发行版迁移的部分,修改自 lingyue 的 openstick 脚本。 [crayon-600df0931ace2493165324/] 这篇文章能发出去,说明编译应该是成功了,然后添加一个新的虚拟虚拟主机,修改主机配置文件: [crayon-600df0931ace7274450124/]
最近 WordPress 的备份插件有点问题,只要一备份就提示 no direct access allowed,连整个 WordPress 后台都进不去,Google 了一下,基本没有找到答案,初步结论是 PHP7 兼容性问题。 今天尝试升级 dokuwiki,结果发现也存在同样的问题,这次是直接显示空白页面,然后居然 WordPress 也被影响了。 Nginx 提示 HTTP 500...
参考文献:Configuring HTTPS servers,还是官方 Document 比较靠谱。 [crayon-600df0931b153141728510/] 然后添加一个跳转判断即可: [crayon-600df0931b158005419945/]
今天研究了一下 Nginx 反代理,整个实现过程还不算完美,暂且做一下记录。 参考文献: Nginx Google 扩展 Debian/Ubuntu Nginx init Script (opt) 前面的编译安装工作,可以照搬参考文献 1。
等了好几天都没有收到信用卡扣费的通知,于是问了下中华电信的扣费周期(请不要问我等了多久才收到回复谢谢)。 信用卡认证后,会于费用产生次月之 6~8 号,向该信用卡扣款。 但是如果客户使用 hicloud 费用达 NT$10,000 者,将会于费用满 NT$10,000 该日之次周, 提前向信用卡扣款。 为了避免我的信用卡被刷爆,今天研究了一下怎样用 fail2ban 防止被 DDOS。