[GH-ISSUE #1050] Strict CSP (Content Security Policy). #2205

Closed
opened 2026-02-27 12:19:12 +03:00 by kerem · 0 comments
Owner

Originally created by @uphv on GitHub (May 13, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1050

Hi,

When enabling strict CSP:

Content-Security-Policy: default-src 'self' img-src 'self' script-src 'self' object-src 'none' https: wss: frame-ancestors 'self'

Nginx-UI breaks.

Nginx-UI is served via Nginx proxy location.

Might also be my mistake. Couldn't find anything in the docs.

Thanks!

Originally created by @uphv on GitHub (May 13, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1050 Hi, When enabling strict CSP: Content-Security-Policy: default-src 'self' img-src 'self' script-src 'self' object-src 'none' https: wss: frame-ancestors 'self' Nginx-UI breaks. Nginx-UI is served via Nginx proxy location. Might also be my mistake. Couldn't find anything in the docs. Thanks!
kerem closed this issue 2026-02-27 12:19:12 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#2205
No description provided.