SIMS icon indicating copy to clipboard operation
SIMS copied to clipboard

GZip configuration for NGINX

Open guru-aot opened this issue 2 years ago • 0 comments

  • [ ] Validate whether we need gzip compression setting in nginx.conf in out web application.
  • [ ] If needed apply the setting from the below recommendation

Rocket chat on devops-how-to:

Daniel Haselhan @daniel.haselhan 4:37 PM Hi Andre, we are using Nginx to host our angular front end, the most important things would be setting gzip to on and correctly configuring your security settings such as CSP. Here is our conf for example: https://github.com/bcgov/alcs/blob/main/alcs-frontend/nginx.conf And helpful CSP tool https://csp-evaluator.withgoogle.com/

References:

https://github.com/bcgov/alcs/blob/main/alcs-frontend/nginx.conf https://www.nginx.com/resources/wiki/start/topics/examples/full/ https://docs.nginx.com/nginx/admin-guide/security-controls/

guru-aot avatar Oct 11 '23 18:10 guru-aot