7 Commits

Author SHA1 Message Date
wiz
aedff56f86 ops: Add missing /api/address-prefix nginx route for bisq 2023-03-04 15:53:49 +09:00
Erik Arvstedt
8e5b609587 nginx: Fix gixy test host_spoofing
This patch was generated by replacing:
`proxy_set_header Host $http_host` ->
`proxy_set_header Host $host`

Script:
find . -type f -exec sed -i 's|proxy_set_header Host \$http_host|proxy_set_header Host \$host|g' {} \;

Fixes test error:
```
>> Problem: [host_spoofing] The proxied Host header may be spoofed.
Description: In most cases "$host" variable are more appropriate, just use it.
Additional info: https://github.com/yandex/gixy/blob/master/docs/en/plugins/hostspoofing.md
```

`proxy_set_header Host $host` is indeed the recommended default proxy header setting.
2022-07-11 15:32:37 +02:00
wiz
63f4c5a003 Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
wiz
6f9f87d8ec Update nginx.conf for mempool.space services APIs 2022-01-14 20:56:41 +09:00
wiz
3c8a146302 Improve nginx caching and use redirects for i18n 2022-01-12 23:12:49 +09:00
wiz
ebc205e5f0 Use upstream hostnames in production nginx configuration 2022-01-05 18:12:05 +09:00
wiz
9a82973d28 Update production configurations + README for v2.3
* Refactor production nginx configuration files
* Update README for new networks, SQL, etc.
2022-01-04 16:38:12 +09:00