mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-02 19:28:10 +00:00
- Add CSP3 support for style/script: include -elem and -attr directives - Base (style-src, script-src) now unions elem/attr (CSP2/Safari fallback) - Respect explicit base disables (e.g. style-src.unsafe-inline: false) - Hashes only when 'unsafe-inline' absent in the final base tokens - Nginx: set CSP only for HTML/worker via header_filter_by_lua_block; drop for subresources - Remove per-location header_filter; keep body_filter only - Update app role flags to *-attr where appropriate; extend desktop CSS sources - Add comprehensive unit tests for union/explicit-disable/no-mirror-back Ref: https://chatgpt.com/share/68f87a0a-cebc-800f-bb3e-8c8ab4dee8ee
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
features:
|
|
matomo: true
|
|
css: true
|
|
desktop: false
|
|
oidc: true # Needs to be activated so that the login url is working
|
|
simpleicons: true # Activate Brand Icons for your groups
|
|
javascript: true # Necessary for URL sync
|
|
logout: true
|
|
server:
|
|
csp:
|
|
whitelist:
|
|
script-src-elem:
|
|
- https://cdn.jsdelivr.net
|
|
- https://kit.fontawesome.com
|
|
- https://code.jquery.com/
|
|
style-src-elem:
|
|
- https://cdn.jsdelivr.net
|
|
- https://kit.fontawesome.com
|
|
- https://code.jquery.com/
|
|
font-src:
|
|
- https://ka-f.fontawesome.com
|
|
- https://cdn.jsdelivr.net
|
|
connect-src:
|
|
- https://ka-f.fontawesome.com
|
|
- https://cdn.jsdelivr.net
|
|
- "{{ WEB_PROTOCOL }}://auth.{{ PRIMARY_DOMAIN }}"
|
|
frame-src:
|
|
- "{{ WEB_PROTOCOL }}://*.{{ PRIMARY_DOMAIN }}"
|
|
flags:
|
|
script-src-attr:
|
|
unsafe-inline: true
|
|
domains:
|
|
canonical:
|
|
- "{{ PRIMARY_DOMAIN }}"
|
|
aliases:
|
|
- "www.{{ PRIMARY_DOMAIN }}"
|
|
docker:
|
|
services:
|
|
desktop:
|
|
name: "desktop"
|
|
image: "application-portfolio" |