-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnccrd.conf
More file actions
26 lines (24 loc) · 763 Bytes
/
nccrd.conf
File metadata and controls
26 lines (24 loc) · 763 Bytes
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
server {
listen [::]:80;
listen 80 default_server;
location / {
expires $expires;
add_header Cache-Control "public, no-transform";
proxy_pass http://nccrd:3000;
proxy_buffering off;
proxy_redirect off;
proxy_read_timeout 1200;
proxy_connect_timeout 1200;
proxy_send_timeout 1200;
send_timeout 1200;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Origin $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header Access-Control-Allow-Origin *;
}
}