mempool/production/nginx
Erik Arvstedt 81bc449043
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
..
http-basic.conf Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
http-language.conf Improve nginx caching and use redirects for i18n 2022-01-12 23:12:49 +09:00
http-proxy-cache.conf Add nginx cache warmer script for production use 2022-01-13 15:06:13 +09:00
location-api-v1-lightning.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-api-v1-services.conf Fix nginx configuration for liquid assets APIs 2022-02-07 03:34:16 +04:00
location-api.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-liquid-api.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-liquidtestnet-api.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-redirects.conf Update production configurations + README for v2.3 2022-01-04 16:38:12 +09:00
location-signet-api-v1-lightning.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-signet-api.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-testnet-api-v1-lightning.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
location-testnet-api.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
nginx.conf Installing Linux nginx config in prod install 2022-07-07 21:09:00 +02:00
server-bisq.conf nginx: Fix gixy test host_spoofing 2022-07-11 15:32:37 +02:00
server-common.conf nginx: Fix gixy test http_splitting 2022-07-11 15:25:42 +02:00
server-esplora.conf Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
server-liquid.conf Fix nginx configuration for liquid assets APIs 2022-02-07 03:34:16 +04:00
server-mempool.conf Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
upstream-esplora.conf Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00
upstream-mempool.conf Refactor nginx.conf and other ops scripts for lightning 2022-07-06 17:13:09 +02:00