mirror of https://git.envs.net/envs/ops.git
changes for jitsi
This commit is contained in:
parent
5e8d027ce9
commit
97995341f9
|
@ -33,5 +33,5 @@ ff02::2 ip6-allrouters
|
||||||
192.168.1.16 rss.envs.net rss
|
192.168.1.16 rss.envs.net rss
|
||||||
192.168.1.17 pb.envs.net pb pastebin.envs.net pastbin
|
192.168.1.17 pb.envs.net pb pastebin.envs.net pastbin
|
||||||
192.168.1.18 pleroma.envs.net pleroma social halcyon.envs.net halcyon
|
192.168.1.18 pleroma.envs.net pleroma social halcyon.envs.net halcyon
|
||||||
192.168.1.19 jitsi.envs.net jitsi
|
192.168.1.19 jitsi.envs.net jitsi meet.envs.net meet
|
||||||
|
|
||||||
|
|
|
@ -274,8 +274,8 @@ if [ "$1" = "start" ]; then
|
||||||
# => apache2 proxy (http/https)
|
# => apache2 proxy (http/https)
|
||||||
$IPT -w -t nat -A POSTROUTING -d 192.168.1.3 -s 192.168.1.19 -j SNAT --to 89.163.145.170
|
$IPT -w -t nat -A POSTROUTING -d 192.168.1.3 -s 192.168.1.19 -j SNAT --to 89.163.145.170
|
||||||
$IPT -w -t nat -A POSTROUTING ! -d 192.168.1.0/24 -s 192.168.1.19 -j SNAT --to 89.163.145.170
|
$IPT -w -t nat -A POSTROUTING ! -d 192.168.1.0/24 -s 192.168.1.19 -j SNAT --to 89.163.145.170
|
||||||
$IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p tcp --dport 4443 -j DNAT --to-destination 192.168.1.19:4443
|
# $IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p tcp --dport 4443 -j DNAT --to-destination 192.168.1.19:4443
|
||||||
$IPT -w -A FORWARD -p tcp -d 192.168.1.19 --dport 4443 -j ACCEPT
|
# $IPT -w -A FORWARD -p tcp -d 192.168.1.19 --dport 4443 -j ACCEPT
|
||||||
$IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p udp --dport 10000:20000 -j DNAT --to-destination 192.168.1.19 --sport 10000:20000
|
$IPT -w -t nat -A PREROUTING -d 89.163.145.170 -p udp --dport 10000:20000 -j DNAT --to-destination 192.168.1.19 --sport 10000:20000
|
||||||
$IPT -w -A FORWARD -p udp -d 192.168.1.19 --dport 10000:20000 -j ACCEPT
|
$IPT -w -A FORWARD -p udp -d 192.168.1.19 --dport 10000:20000 -j ACCEPT
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ server {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
|
||||||
proxy_pass https://jitsi.envs.net;
|
proxy_pass https://jitsi.envs.net:4444;
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ server {
|
||||||
server {
|
server {
|
||||||
include snippets/listen.conf;
|
include snippets/listen.conf;
|
||||||
# include snippets/ddos_def.conf;
|
# include snippets/ddos_def.conf;
|
||||||
server_name talk.envs.net;
|
server_name talk.envs.net meet.envs.net;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
return 301 https://jitsi.envs.net/;
|
return 301 https://jitsi.envs.net/;
|
||||||
|
@ -48,7 +48,7 @@ server {
|
||||||
server {
|
server {
|
||||||
include snippets/listen_ssl.conf;
|
include snippets/listen_ssl.conf;
|
||||||
# include snippets/ddos_def.conf;
|
# include snippets/ddos_def.conf;
|
||||||
server_name talk.envs.net;
|
server_name talk.envs.net meet.envs.net;
|
||||||
|
|
||||||
include snippets/ssl.conf;
|
include snippets/ssl.conf;
|
||||||
include ssl/envs_net_wild.conf;
|
include ssl/envs_net_wild.conf;
|
||||||
|
|
Loading…
Reference in New Issue