Site Tools


chuleta_haproxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chuleta_haproxy [2022/06/14 22:03] etfiatchuleta_haproxy [2023/07/26 22:07] (current) etfiat
Line 1: Line 1:
 <code> <code>
  
-acl ceph_acl hdr(host) -i ceph.intra.unizar.es+frontend frontal-cloud 
 +        bind x.y.z.t:80 
 +        mode http 
 +        option  forwardfor 
 +        default_backend backend-cloud 
 +        redirect scheme https 
 + 
 +frontend frontal-cloud-tls 
 +        bind x.y.z.t:443 ssl crt /etc/cert/ 
 +        mode http 
 +        default_backend backend-cloud 
 +         
 +        option  forwardfor # añade cabecera X-forward 
 + 
 + 
 +        #CAldav Cardav webfinger nodeinfo 
 +        acl url_discovery path /.well-known/caldav /.well-known/carddav 
 +        http-request redirect location /remote.php/dav/ code 301 if url_discovery 
 +        acl webfinger path /.well-known/webfinger 
 +        http-request redirect location /index.php/.well-known/webfinger code 301 if webfinger 
 +        acl nodeinfo path /.well-known/nodeinfo 
 +        http-request redirect location /index.php/.well-known/nodeinfo code 301 if nodeinfo 
 + 
 +        #wiki 
 +        acl host_wiki hdr(host) -i wiki.icomz.net 
 +        use_backend backend-wiki if host_wiki 
 +    
 +        #colabora 
 +        acl host_colabora hdr(host) -i colabora.icomz.net 
 +        use_backend backend-colabora if host_colabora 
 +      
 +         
 + 
 +backend backend-cloud 
 +        server backcloud0 192.168.100.100:80 
 + 
 +backend backend-wiki 
 +        server backcloud0 192.168.100.101:80 
 +         
 +backend backend-colabora 
 +        server backccolabora0 192.168.100.102:9980
  
  
 </code> </code>
chuleta_haproxy.1655244207.txt.gz · Last modified: by etfiat