You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,10 @@
3
3
Nginx configs. Not the most powerful, productive or the best one. Just useful configs, which I would like to see in default nginx packages out of the box 😆
4
4
Bonus: fail2ban, filebeat and docker-compose configs for nginx :)
5
5
6
-
Warning: I'm living in Belarus - country between EU and Russia. [And today we are fighting for our freedom against 'the last dictator of the Europe'](https://www.euronews.com/2020/06/25/belarus-is-no-longer-scared-of-lukashenko-europe-s-last-dictator-will-fall-view).
7
-
So I can't guarantee that I'll be able to maintain this repo scrupulously this summer. Sorry, guys
6
+
Warning: I'm living in Belarus - a country between the EU and Russia. [And today we are fighting for our freedom against 'the last dictator of the Europe'](https://www.euronews.com/2020/06/25/belarus-is-no-longer-scared-of-lukashenko-europe-s-last-dictator-will-fall-view).
7
+
So I can't guarantee that I'll be able to maintain this repo scrupulously this time. Sorry, guys
8
8
9
-
**Motivation**: I have been using nginx for last 4 years at least, and I configured it really for hundreds setups of 30+ companies and startups: sites, apps, websockets, proxies, load balancing, from few up to 1k rps, etc... And I'm a little bit disappointed by [the official nginx wiki](https://www.nginx.com/resources/wiki/).
9
+
**Motivation**: I have been using nginx for the last 5 years at least, and I configured it really for hundreds setups of 30+ companies and startups: sites, apps, websockets, proxies, load balancing, from a few up to 1k rps, etc... And I'm a little bit disappointed by [the official nginx wiki](https://www.nginx.com/resources/wiki/).
10
10
The last drop was this [blog post in the official blog](https://www.nginx.com/blog/help-the-world-by-healing-your-nginx-configuration/):
11
11
this post doesn't provide a complete solution, half of these tips can be included into nginx configs or snippets by default,
12
12
and some of the other tips, such as disabling access logging, in my opinion are the bad practice 😆
@@ -28,10 +28,10 @@ Another one common boilerplate.
28
28
Collection of Nginx configs for most popular CMS/CMF/Frameworks based on PHP.
Docker image, but I haven't checked it properly yet, their configs require addition nginx modules and setup
31
-
and it can't be just copied to usual nginx. However, you can use it with docker.
31
+
and it can't be just copied to the usual nginx setup. However, you can use it with docker.
32
32
Also I don't agree with nginx microcache for every site, see known traps.
33
33
34
-
So here I'm trying to put together all (my) good patterns and knowledges, and organize it as simple as possible in compare with complex examples above. So anyone will be able to copy this configs and get good nginx setup out of the box :)
34
+
So here I'm trying to put together all (my) good patterns and knowledge, and organize it as simply as possible in comparison with complex examples above. So anyone will be able to copy this configs and get a good nginx setup out of the box :)
0 commit comments