-
Notifications
You must be signed in to change notification settings - Fork 0
/
server-help.pd
executable file
·53 lines (53 loc) · 2.19 KB
/
server-help.pd
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
50
51
52
53
#N canvas 406 45 1346 852 8;
#X msg 7 32 start;
#X msg 66 91 stop;
#X msg 32 60 port 8080;
#X obj 7 238 server 8090;
#X msg 225 57 ssl \$1;
#X obj 225 24 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000 0 1;
#N canvas 92 192 1244 225 SSL_WINDOWS 0;
#X text 7 66 Run openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 365 -out cert.pem from Mingw64 terminal., f 85;
#X text 7 30 REQUIRES MINGW64;
#X restore 328 140 pd SSL_WINDOWS;
#N canvas 0 0 1282 175 SSL_LINUX 0;
#X text 18 13 Run 'openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 365 -out cert.pem from terminal., f 85;
#X restore 328 166 pd SSL_LINUX;
#N canvas 142 242 1332 149 SSL_MAC 0;
#X text 17 14 I BELIEVE that is same that Linux 'openssl req -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 365 -out cert.pem'., f 85;
#X restore 328 191 pd SSL_MAC;
#X text 433 137 SSL requires certificates \, see how to generate certificates on your OS., f 35;
#X text 280 50 To access microphones \, cameras \, and other devices from smartphones/tablets via JavaScript \, SSL is required.;
#X text 93 236 WARNING: To avoid mess \, only what is inside a folder called public (inside the pd Patch folder) will be made available via the server. Inside this folder \, you need to put some index.html.;
#X msg 242 169 post \$1;
#X obj 242 137 tgl 20 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000 0 1;
#X obj 7 360 nbx 5 18 -1e+37 1e+37 0 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000 0 256;
#X msg 132 360 set \$1;
#X msg 132 385 Browser;
#X obj 7 335 route number symbol list, f 54;
#X obj 257 383 print received;
#X msg 71 130 getip;
#X msg 35 278 set \$1;
#X msg 35 299 192.168.15.8;
#X obj 35 259 list;
#X msg 80 158 folder /;
#X text 133 156 Set folder the will be served.;
#X msg 77 195 folder /public;
#X text 155 195 Public is the normal folder.;
#X connect 0 0 3 0;
#X connect 1 0 3 0;
#X connect 2 0 3 0;
#X connect 3 0 17 0;
#X connect 3 0 22 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 12 0 3 0;
#X connect 13 0 12 0;
#X connect 15 0 16 0;
#X connect 17 0 14 0;
#X connect 17 1 15 0;
#X connect 17 2 18 0;
#X connect 19 0 3 0;
#X connect 20 0 21 0;
#X connect 22 0 20 0;
#X connect 23 0 3 0;
#X connect 25 0 3 0;