前言
Nginx是非常優秀的Web服務器,同時具備反向代理和負載均衡的功能,作爲程序員都應該大概瞭解一下。過去一年我有機會用了一下nginx,記錄一下用過的功能,避免後面忘記了。
Nginx實戰共十一章節
- Nginx實戰(一)Nginx簡介
- Nginx實戰(二)Nginx安裝
- Nginx實戰(三)反向代理與負載均衡
- Nginx實戰(四)Nginx+Keepalived實現高可用
- Nginx實戰(五)配置https
- Nginx實戰(六)Nginx實現限流
- Nginx實戰(七)Nginx高併發配置
- Nginx實戰(八)rewrite和try_if配置
- Nginx實戰(九)跨域配置(解決CORS報錯)
- Nginx實戰(十)Nginx的漏洞修復
- Nginx實戰(十一)補漏拾遺
參考資料說明
補充:說是一年,其實也就每個月弄個一兩天,所以我還是一個小學生(甚至幼兒園),錯誤肯定有,希望指正。其實我寫來主要還是給自己看的而已,怕忘了。
參考了一些網上資料,有些文字性的介紹,我直接拷貝過來,所以這裏,特別列出這些網上資料的出處,也對作者表示感謝。
當然,由於時間關係,我也沒有對資料進行考證,可能所謂的作者也只是轉載或者拷貝過來,不過也沒關係,因爲您的拷貝,方便了我查找,同樣也感謝您。
首先是書籍:《精通Nginx》
這本書不是很全,比較簡單。
另一本書籍:《Nginx高性能Web服務器詳解》
聽說很好,但我還沒空詳細看過。
附件(網上參考資料)
Nginx簡介
https://www.cnblogs.com/yaomajor/p/6272647.html
https://blog.csdn.net/javalean/article/details/80083555
https://www.cnblogs.com/wcwnina/p/8728391.html
nginx安裝
http://www.runoob.com/linux/nginx-install-setup.html
https://www.cnblogs.com/wyd168/p/6636529.html
https://www.cnblogs.com/meng1314-shuai/p/8335140.html
http://nginx.org/en/docs/windows.html
https://www.cnblogs.com/saysmy/p/6609796.html
https://www.jianshu.com/p/a955ba9d2b21 npm
nginx反向代理
https://blog.csdn.net/xuanjiewu/article/details/79458266
nginx+keepalived
https://www.cnblogs.com/youzhibing/p/7327342.html
https://blog.csdn.net/e421083458/article/details/30092795 圖
nginx實現https
https://aotu.io/notes/2016/08/16/nginx-https/index.html
nginx限流
https://www.cnblogs.com/biglittleant/p/8979915.html
nginx高併發
https://segmentfault.com/a/1190000011405320
https://www.cnblogs.com/kevingrace/p/6094007.html
nginx的rewrite與try_if
https://segmentfault.com/a/1190000002797606
http://seanlook.com/2015/05/17/nginx-location-rewrite/
http://www.nginx.cn/216.html
https://blog.csdn.net/kikajack/article/details/80669260
nginx跨域
https://segmentfault.com/a/1190000012550346
https://www.cnblogs.com/gabrielchen/p/5066120.html
https://www.cnblogs.com/renjing/p/6394725.html
nginx漏洞
https://www.freebuf.com/articles/web/149761.html
https://www.leavesongs.com/PENETRATION/nginx-insecure-configuration.html
https://www.freebuf.com/articles/terminal/140402.html
https://www.freebuf.com/articles/web/149761.html