|
0
|
1 client_max_body_size 0;
|
|
|
2 proxy_http_version 1.1;
|
|
31
|
3 charset utf-8;
|
|
|
4 proxy_set_header Host $host;
|
|
0
|
5 proxy_set_header X-Real-IP $remote_addr;
|
|
31
|
6 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
7 proxy_set_header X-Forwarded-Proto $scheme;
|
|
0
|
8
|
|
11
|
9 location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
|
|
|
10 default_type text/plain;
|
|
|
11 return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk";
|
|
|
12 }
|
|
|
13
|
|
29
|
14 if ($http_x_openai_host_hash != "") {
|
|
|
15 return 403;
|
|
|
16 }
|
|
|
17
|
|
31
|
18 access_log /Users/administrator/hghosting/logs/default_nginx_access.log full;
|
|
|
19
|
|
0
|
20 location / {
|
|
|
21 proxy_pass http://127.0.0.1:8080;
|
|
|
22 }
|