39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: v1
 | 
						|
kind: ConfigMap
 | 
						|
metadata:
 | 
						|
  name: configmap-lighttpd-vhosts
 | 
						|
  namespace: lighttpd
 | 
						|
data:
 | 
						|
  bessems.com.conf: |
 | 
						|
    $HTTP["host"] =~ "^bessems\.(com|eu)$" {
 | 
						|
      server.document-root = "/var/www/bessems.com/"
 | 
						|
    }
 | 
						|
  gabaldon.eu.conf: |
 | 
						|
    $HTTP["host"] =~ "^gabaldon\.(eu|nl)$" {
 | 
						|
      server.document-root = "/var/www/gabaldon.eu/"
 | 
						|
    }
 | 
						|
  sn.itch.fyi.conf: |
 | 
						|
    $HTTP["host"] == "sn.itch.fyi" {
 | 
						|
      server.document-root = "/var/www/sn.itch.fyi/"
 | 
						|
 | 
						|
      index-file.names += ("/_h5ai/public/index.php")
 | 
						|
    }
 | 
						|
    $HTTP["url"] =~ "^/repository|^/Repository" {
 | 
						|
      auth.require = (
 | 
						|
        "" => (
 | 
						|
          "method"  => "basic",
 | 
						|
          "realm"   => "Restricted access",
 | 
						|
          "require" => "user=readaccess"
 | 
						|
        )
 | 
						|
      )
 | 
						|
    }
 | 
						|
  spamasaurus.com.conf: |
 | 
						|
    $HTTP["host"] == "spamasaurus.com" {
 | 
						|
      server.document-root = "/var/www/spamasaurus.com/public"
 | 
						|
 | 
						|
      index-file.names += ("spamasaurusRex.login.php")
 | 
						|
    }
 | 
						|
    $HTTP["url"] =~ "^/.well-known/" {
 | 
						|
      mimetype.assign   += ( "server" => "application/json" )
 | 
						|
    }
 |