mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	- Normalize domain blocks across apps:
  - Add explicit 'aliases: []' everywhere (no implicit aliases)
  - Standardize canonical subdomains for consistency:
    * Bluesky: web/api under *.bluesky.<PRIMARY_DOMAIN>
    * EspoCRM: espo.crm.<PRIMARY_DOMAIN>
    * Gitea:   tea.git.<PRIMARY_DOMAIN>
    * GitLab:  lab.git.<PRIMARY_DOMAIN>
    * Joomla:  joomla.cms.<PRIMARY_DOMAIN>
    * Magento: magento.shop.<PRIMARY_DOMAIN>
    * OpenProject: open.project.<PRIMARY_DOMAIN>
    * Pretix:  ticket.shop.<PRIMARY_DOMAIN>
    * Taiga:   kanban.project.<PRIMARY_DOMAIN>
  - Remove legacy/duplicate aliases and use empty list instead
  - Fix 'alias' -> 'aliases' where applicable
Context: preparing for AUTO_BUILD_ALIASES=False and deterministic redirect mapping.
Ref: conversation https://chatgpt.com/share/68cd512c-c878-800f-bdf2-81737adf7e0e
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			935 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			935 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
oauth2_proxy:  
 | 
						|
  application:        "application"
 | 
						|
  port:               "80"
 | 
						|
  allowed_groups:
 | 
						|
    - "{{ [RBAC.GROUP.NAME, 'web-app-yourls-administrator'] | path_join }}"
 | 
						|
  acl:
 | 
						|
    blacklist:
 | 
						|
      - "<< defaults_applications[web-app-yourls].server.locations.admin >>" # Protects the admin area
 | 
						|
features:
 | 
						|
  matomo:             true
 | 
						|
  css:                true
 | 
						|
  desktop:            true
 | 
						|
  central_database:   true
 | 
						|
  oauth2:             true
 | 
						|
  logout:             true
 | 
						|
server:
 | 
						|
  domains:
 | 
						|
    canonical:
 | 
						|
      - "s.{{ PRIMARY_DOMAIN }}"
 | 
						|
    aliases: []
 | 
						|
  csp:
 | 
						|
    flags:
 | 
						|
      style-src:
 | 
						|
        unsafe-inline:  true
 | 
						|
      script-src-elem:
 | 
						|
        unsafe-inline:  true
 | 
						|
      script-src:
 | 
						|
        unsafe-inline:  true
 | 
						|
  locations:
 | 
						|
    admin:  "/admin/"
 | 
						|
  status_codes:
 | 
						|
    default: 301
 | 
						|
docker:
 | 
						|
  services:
 | 
						|
    database:
 | 
						|
      enabled:    true
 | 
						|
    yourls: 
 | 
						|
      version:    "latest"
 | 
						|
      name:       "yourls"
 | 
						|
      image:      "yourls"
 |