Explorar el Código

Corrects the Caddyfile

pull/652/head
0hlov3 hace 6 años
padre
commit
59e1abb072
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      examples/caddy2/Caddyfile

+ 2
- 2
examples/caddy2/Caddyfile Ver fichero

@@ -49,7 +49,7 @@ matrix.DOMAIN.tld {

# identity
handle @identity {
reverse_proxy localhost:8090/_matrix/identity {
reverse_proxy localhost:8090 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Forwarded-TlsProto {tls_protocol}
@@ -60,7 +60,7 @@ matrix.DOMAIN.tld {

# search
handle @search {
reverse_proxy localhost:8090/_matrix/client/r0/user_directory/search {
reverse_proxy localhost:8090 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Forwarded-TlsProto {tls_protocol}


Cargando…
Cancelar
Guardar