bcgov / bcgov/SIMS

GZip configuration for NGINX

Open
#2,406 0 comments 0 reactions 0 assignees View on GitHub
Devops
Dominant language
TypeScript
Stars
29
Forks
15
PR merge metrics
No merged PRs in 30d

Description

- [ ] 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/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.