# Keyboard and mouse stopped working + content-security-policy error

**URL:** <https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544>\
**Category:** Self-hosting\
**Tags:** nginx\
**Created:** [November 6, 2023, 10:58am UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544 "2023-11-06T10:58:03Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ygramoel](https://avatars.discourse-cdn.com/v4/letter/y/74df32/32.png) [@ygramoel](https://meta.discourse.org/u/ygramoel)\
**Post date:** [November 6, 2023, 3:06pm UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544/7 "2023-11-06T15:06:34Z")

</div>

Found it: it was indeed an issue with my nginx configuration that now accidentally emitted a `Content-Security-Policy` header that is too strict for Discourse.

Removing the `Content-Security-Policy` fixed my issue.

---

_[View the full topic](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544)._
