# 키보드와 마우스가 작동하지 않음 + content-security-policy 오류

**URL:** <https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544>\
**Category:** Self-hosting\
**Tags:** nginx\
**Created:** [11월 6, 2023, 10:58오전 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:** 5

<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:** [11월 6, 2023, 1:47오후 UTC](https://meta.discourse.org/t/keyboard-and-mouse-stopped-working-content-security-policy-error/284544/5 "2023-11-06T13:47:34Z")

</div>

> [@Bas](#):
>
> 이상합니다. 제 경우 Safari에서는 315번 줄 실행을 거부한다고 보고합니다. 해당 줄은 Discourse-spash 프리로더의 인라인 스크립트입니다. 따라서 테마와 관련이 없습니다.

네, 저에게도 정확히 같은 일이 일어나고 있습니다.

현재 저는 nginx 설정(서버 레벨)에 다음과 같은 rewrite를 추가하는 다른 임시 해결책을 구현했습니다:

```plaintext
    rewrite ^(.*)$ $1?safe_mode=no_themes break;

```

이로 인해 방문자들은 기본적으로 안전 모드([safe mode](https://meta.discourse.org/t/53504?silent=true))를 사용하게 됩니다.

이 문제를 더 깊이 조사하기 위해, `rewrite`가 적용되지 않은 포럼 서버의 복제본을 [https://raw.forum.embeetle.com](https://raw.forum.embeetle.com) 에도 만들었습니다. 해당 URL을 방문하면 여전히 원래 문제가 발생하는 것을 볼 수 있습니다.

저는 사용자 정의 스크립트를 사용하지 않습니다. 몇 가지 플러그인은 사용 중이며, 그중 일부 플러그인을 비활성화했을 때 어떤 효과가 있는지 실험해 볼 예정입니다.

---

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