mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[GH-ISSUE #336] [FEATURE] Clarify about "Content-Security-Policy" #228
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#228
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Myzel394 on GitHub (Jun 1, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/336
Describe the feature you'd like to see added
Clarify about the usage of
Content-Security-Policy. If you addstyle-src *to it, Whoogle won't work (currently).Additional context
I setup my own instance, hardened it using some security headers, one of them was
Content-Security-Policy. Turned out, I can't use it with Whoogle. I think it would be good to add this to the installation part, to avoid people spending hours finding out why there are no inline styles available ^O^@benbusby commented on GitHub (Jun 1, 2021):
Sure. Just out of curiosity, which method were you using for deployment/installation? I assume these were headers applied by a reverse proxy?
Whoogle handles the CSP itself, so there shouldn't be any need to modify it externally, but I agree that it should be documented somewhere.
@Myzel394 commented on GitHub (Jun 1, 2021):
I used nginx.
Here's an example config:
}
Just removed it, worked after that :D.