Skip to content
Snippets Groups Projects
Select Git revision
  • 80fa042658555b26e96fe98a9dc761c59a8f492c
  • main default protected
  • 1.1.0
  • 1.0
4 results

menu.ods

Blame
  • httpd.conf 603 B
    server "barnslig.xyz" {
        alias mail.barnslig.xyz
        alias frieder.barnslig.eu
    
    	listen on * port 80
    
    	location "/.well-known/acme-challenge/*" {
    		root "/acme"
    		request strip 2
    	}
    
    	location * {
    		block return 302 "https://$HTTP_HOST$REQUEST_URI"
    	}
    }
    
    server "barnslig.xyz" {
        alias mail.barnslig.xyz
        alias frieder.barnslig.eu
    
    	listen on * tls port 443
    
    	tls {
    		certificate "/etc/ssl/barnslig.xyz.fullchain.pem"
    		key "/etc/ssl/private/barnslig.xyz.key"
    	}
    
    	location "/pub/*" {
    		directory auto index
    	}
    
    	location "/.well-known/acme-challenge/*" {
    		root "/acme"
    		request strip 2
    	}
    }