Mercurial Hosting > hghosting
annotate nginx.default.conf @ 30:66ddf3654046
nginx access log debug conf
| author | Violet7 |
|---|---|
| date | Tue, 19 May 2026 02:10:59 -0700 |
| parents | f83fbf2b6d4f |
| children | b688b17bbe6b |
| rev | line source |
|---|---|
| 0 | 1 client_max_body_size 0; |
| 2 proxy_http_version 1.1; | |
| 3 proxy_set_header Host $http_host; | |
| 4 proxy_set_header X-Forwarded-Proto $scheme; | |
| 5 proxy_set_header X-Real-IP $remote_addr; | |
| 6 charset utf-8; | |
| 7 | |
| 11 | 8 location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" { |
| 9 default_type text/plain; | |
| 10 return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk"; | |
| 11 } | |
| 12 | |
| 29 | 13 if ($http_x_openai_host_hash != "") { |
| 14 return 403; | |
| 15 } | |
| 16 | |
| 0 | 17 location / { |
| 18 proxy_pass http://127.0.0.1:8080; | |
| 19 } |
