diff --git a/roles/native-nginx-docker-proxy/readme.md b/roles/native-nginx-docker-proxy/readme.md new file mode 100644 index 00000000..66aa5f44 --- /dev/null +++ b/roles/native-nginx-docker-proxy/readme.md @@ -0,0 +1,4 @@ +# role native-nginx-docker-proxy +## performance +- https://stackoverflow.com/questions/33703230/caching-images-on-all-folder-levels-of-nginx-reverse-proxy +- https://www.tweaked.io/guide/nginx-proxying/ diff --git a/roles/native-nginx/readme.md b/roles/native-nginx/readme.md index 2dc7faf2..673f153c 100644 --- a/roles/native-nginx/readme.md +++ b/roles/native-nginx/readme.md @@ -2,3 +2,5 @@ ## performance - https://www.monitis.com/blog/6-best-practices-for-optimizing-your-nginx-performance/ - https://www.nginx.com/blog/tuning-nginx/ +- https://davidwalsh.name/enable-gzip +- https://www.nginx.com/blog/performance-tuning-tips-tricks/ diff --git a/roles/native-nginx/templates/nginx.conf.j2 b/roles/native-nginx/templates/nginx.conf.j2 index 3bab0747..07cb57b3 100644 --- a/roles/native-nginx/templates/nginx.conf.j2 +++ b/roles/native-nginx/templates/nginx.conf.j2 @@ -9,6 +9,7 @@ http { include mime.types; default_type text/html; + access_log /dev/null; error_log syslog:server=unix:/dev/log; sendfile on; keepalive_timeout 65;