mirror of
https://git.anonymousland.org/anonymousland/infrastructure.git
synced 2024-10-01 08:25:45 -04:00
8d6fb20c2c
Co-authored-by: NebulaOnion <nebulaonion@tutanota.com> Reviewed-on: https://git.anonymousland.org/anonymousland/infrastructure/pulls/5
15 lines
481 B
Plaintext
15 lines
481 B
Plaintext
server {
|
|
listen 69 ;
|
|
server_name 7pdtdadfcjvntnbip764d5sc35d2s7hhdkbbie5hy7njovea4534vxqd.onion;
|
|
|
|
location /.well-known/matrix/server {
|
|
return 200 '{"m.server": "7pdtdadfcjvntnbip764d5sc35d2s7hhdkbbie5hy7njovea4534vxqd.onion:80"}';
|
|
}
|
|
|
|
location / {
|
|
set $upstream_app tor-synapse;
|
|
set $upstream_port 8008;
|
|
set $upstream_proto http;
|
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
|
}
|
|
} |