-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.conf
More file actions
39 lines (33 loc) · 1.22 KB
/
default.conf
File metadata and controls
39 lines (33 loc) · 1.22 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
server {
server_name localhost api.yourdomain.com;
#listen [::]:80 default_server;
#access_log /var/log/nginx/host.access.log main;
location /api/key/activate {
proxy_pass https://api.cryptolens.io/api/key/Activate;
proxy_hide_header X-AspNet-Version;
proxy_hide_header X-Powered-By;
proxy_hide_header Request-Context;
proxy_hide_header Set-Cookie;
}
location /api/key/Activate {
proxy_pass https://api.cryptolens.io/api/key/Activate;
proxy_hide_header X-AspNet-Version;
proxy_hide_header X-Powered-By;
proxy_hide_header Request-Context;
proxy_hide_header Set-Cookie;
}
location /api/key/createtrialkey {
proxy_pass https://api.cryptolens.io/api/key/CreateTrialKey;
proxy_hide_header X-AspNet-Version;
proxy_hide_header X-Powered-By;
proxy_hide_header Request-Context;
proxy_hide_header Set-Cookie;
}
location /api/key/CreateTrialKey {
proxy_pass https://api.cryptolens.io/api/key/CreateTrialKey;
proxy_hide_header X-AspNet-Version;
proxy_hide_header X-Powered-By;
proxy_hide_header Request-Context;
proxy_hide_header Set-Cookie;
}
}