SIMS
SIMS copied to clipboard
GZip configuration for NGINX
- [ ] 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/