add well known fiels for site
This commit is contained in:
@@ -1,6 +1,43 @@
|
|||||||
projectsegfau.lt www.projectsegfau.lt web.dev.projectsegfau.lt www.psf.lt psf.lt {
|
projectsegfau.lt www.projectsegfau.lt web.dev.projectsegfau.lt {
|
||||||
reverse_proxy :1339
|
reverse_proxy :1339
|
||||||
import def
|
import def
|
||||||
|
reverse_proxy /bosh xmpp.projectsegfau.lt:5443 {
|
||||||
|
header_up X-Real-IP {remote_host}
|
||||||
|
transport http {
|
||||||
|
tls_insecure_skip_verify
|
||||||
|
}
|
||||||
|
}
|
||||||
|
reverse_proxy /ws xmpp.projectsegfau.lt:5443 {
|
||||||
|
header_up X-Real-IP {remote_host}
|
||||||
|
transport http {
|
||||||
|
tls_insecure_skip_verify
|
||||||
|
}
|
||||||
|
}
|
||||||
|
header /.well-known/matrix/* Content-Type application/json
|
||||||
|
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
||||||
|
handle_path /.well-known/* {
|
||||||
|
root * /var/www/well-known
|
||||||
|
file_server
|
||||||
|
}
|
||||||
|
header /.well-known/host-meta Content-Type application/xrd+xml
|
||||||
|
header /.well-known/host-meta Access-Control-Allow-Origin *
|
||||||
|
header /.well-known/host-meta.json Content-Type application/json
|
||||||
|
header /.well-known/host-meta.json Access-Control-Allow-Origin *
|
||||||
|
header /.well-known/xmpp-provider-v2.json Content-Type application/json
|
||||||
|
header /.well-known/xmpp-provider-v2.json Access-Control-Allow-Origin *
|
||||||
|
|
||||||
|
import torloc www
|
||||||
|
}
|
||||||
|
psf.lt www.psf.lt {
|
||||||
|
reverse_proxy :1339
|
||||||
|
import def
|
||||||
|
import torloc www
|
||||||
|
header /.well-known/matrix/* Content-Type application/json
|
||||||
|
header /.well-known/matrix/* Access-Control-Allow-Origin *
|
||||||
|
handle_path /.well-known/* {
|
||||||
|
root * /var/www/psf-well-known
|
||||||
|
file_server
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sl.projectsegfau.lt sl.psf.lt {
|
sl.projectsegfau.lt sl.psf.lt {
|
||||||
reverse_proxy :7777
|
reverse_proxy :7777
|
||||||
|
|||||||
Reference in New Issue
Block a user