2021-01-22 20:46:43 +01:00
|
|
|
---
|
|
|
|
|
2022-08-04 20:57:40 +02:00
|
|
|
ssl_reverse_proxy_upstream:
|
|
|
|
pterodactyl:
|
|
|
|
to: "10.7.10.103"
|
|
|
|
sni_server_name: "play.nyx.ovh"
|
|
|
|
to_port: 443
|
|
|
|
matrix:
|
|
|
|
to: "10.7.10.101"
|
|
|
|
sni_server_name: matrix.pains-perdus.fr
|
|
|
|
to_port: 443
|
2021-03-02 11:33:34 +01:00
|
|
|
|
2022-08-04 20:57:40 +02:00
|
|
|
http_sites:
|
|
|
|
"pains-perdus.fr":
|
|
|
|
root_snippets: # TODO: check if needed
|
|
|
|
- |
|
|
|
|
listen 8448 ssl http2;
|
|
|
|
listen [::]:8448 ssl http2;
|
|
|
|
locations:
|
|
|
|
"/.well-known/matrix/server":
|
|
|
|
config:
|
|
|
|
- |
|
|
|
|
return 200 '{"m.server": "matrix.pains-perdus.fr:443"}';
|
|
|
|
default_type application/json;
|
|
|
|
add_header Access-Control-Allow-Origin *;
|