mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-02 11:18:09 +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
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
autologin: false # This is a high security risk. Just activate this option if you know what you're doing
|
|
oauth2_proxy:
|
|
port: "80"
|
|
application: "application"
|
|
allowed_groups:
|
|
- "{{ [RBAC.GROUP.NAME, 'web-app-phpmyadmin-administrator'] | path_join }}"
|
|
features:
|
|
matomo: true
|
|
css: false
|
|
desktop: false # Opens itself in a new window, when it's loaded in an iframe.
|
|
# it's anyhow not so enduser relevant, so it can be kept like this
|
|
central_database: true
|
|
oauth2: true
|
|
logout: true
|
|
server:
|
|
csp:
|
|
flags:
|
|
style-src-attr:
|
|
unsafe-inline: true
|
|
script-src-elem:
|
|
unsafe-inline: true
|
|
domains:
|
|
aliases: []
|
|
canonical:
|
|
- phpmyadmin.{{ PRIMARY_DOMAIN }}
|
|
docker:
|
|
services:
|
|
database:
|
|
enabled: true
|
|
phpmyadmin:
|
|
version: "latest" # Use the latest phpmyadmin version
|
|
name: "phpmyadmin"
|
|
image: phpmyadmin/phpmyadmin
|