-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
58 lines (44 loc) · 1.1 KB
/
nginx.conf
File metadata and controls
58 lines (44 loc) · 1.1 KB
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
54
55
56
57
master_process off;
#daemon off;
worker_rlimit_nofile 65535;
error_log logs/error.log debug;
events {
worker_connections 1024;
}
http {
client_max_body_size 16M;
server_names_hash_bucket_size 128;
include mime.types;
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_certificate cert/server.pem;
ssl_certificate_key cert/server.key;
cloakstate test 10240 conf/cert/private.pem conf/cert/STEK;
cloakrecord 16k;
upstream self {
server 127.0.0.1:8888;
}
server {
listen 443 ssl;
listen 8888;
root static/;
location / {
# try_files $uri$is_args$args =404;
}
location /post {
try_files /privacy/post.html$is_args$args =404;
}
location /privacy/post.html {
cloakenc on;
proxy_method GET;
proxy_pass http://self/post$is_args$args;
}
location /privacy {
cloakenc on;
try_files $uri$is_args$args =404;
}
location /clientHello {
cloakhello on;
}
}
}