forked from karpathy/ulogme
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathnginx.conf
35 lines (34 loc) · 1.37 KB
/
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
# Inside the SSL server:
# Local proxy for uLogMe (https://localhost:8443/)
location /ulogme/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_cache off;
proxy_ssl_verify off;
proxy_pass https://localhost:8443/;
}
location /refresh {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_cache off;
proxy_ssl_verify off;
proxy_pass https://localhost:8443/refresh;
}
location /blog {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_cache off;
proxy_ssl_verify off;
proxy_pass https://localhost:8443/blog;
}
location /addnote {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_buffering off;
proxy_cache off;
proxy_ssl_verify off;
proxy_pass https://localhost:8443/addnote;
}