Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(spa): make csp headers optional in docker image #731

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

timonmasberg
Copy link
Member

Description

Currently, the CSP configurations are hard-coded into the nginx config of the spa docker image, which also consists of the reverse proxy. As we need to add some sources, such as sentry, aadb2c and so on, which are specific to our instance, it would be a better approach to loosen the configuration to the minimum and offer an approach where the config can be adjusted to the instance's needs. Thus, this PR removes the CSP and compression config. A dedicated PR will cover the necessary changes of the infrastructure in our infra repo.

@timonmasberg timonmasberg requested a review from JSPRH March 12, 2024 15:38
@timonmasberg timonmasberg self-assigned this Mar 12, 2024
@timonmasberg timonmasberg changed the title fix(spa): make csp headers optional in docker image chore(spa): make csp headers optional in docker image Mar 12, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@timonmasberg timonmasberg merged commit 76a70df into main Mar 12, 2024
7 checks passed
@timonmasberg timonmasberg deleted the fix/csp-restriction-in-image branch March 12, 2024 18:40
@timonmasberg
Copy link
Member Author

🎉 This PR is included in version 1.4.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants