-
Notifications
You must be signed in to change notification settings - Fork 0
/
ess.nginx.conf
49 lines (45 loc) · 1.19 KB
/
ess.nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
upstream ess-demux {
server localhost:8008;
server localhost:8009 backup;
}
resolver 1.1.1.1 1.0.0.1;
server {
listen 8007 default_server;
server_name _;
location /streaming {
proxy_pass http://ess-demux;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 8008;
add_header ess-demux-server "nss" always;
location / {
proxy_pass https://push.nanite-systems.net;
proxy_set_header Host push.nanite-systems.net;
proxy_ssl_name push.nanite-systems.net;
proxy_ssl_server_name on;
proxy_ssl_protocols TLSv1.3;
proxy_ssl_verify off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
server {
listen 8009;
add_header ess-demux-server "ess" always;
location / {
proxy_pass https://push.planetside2.com;
proxy_set_header Host push.planetside2.com;
proxy_ssl_name push.planetside2.com;
proxy_ssl_server_name on;
proxy_ssl_protocols TLSv1.2 TLSv1.3;
proxy_ssl_verify off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}