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
chuleta_haproxy [2023/07/26 22:05] etfiatchuleta_haproxy [2023/07/26 22:07] (current) etfiat
Line 1: Line 1:
 <code> <code>
 +
 +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         #wiki
chuleta_haproxy.1690409143.txt.gz · Last modified: by etfiat