Compare commits

..

4 Commits

Author SHA1 Message Date
b2b59ee607
Merge branch 'master' into knots 2025-05-08 14:58:46 -05:00
2f313bfa8c
Switch to official image
Co-authored-by: Markus Petzsch <markus@petzsch.eu>
2025-05-08 14:58:32 -05:00
nicolas.dorier
f3a319e7f9
Add auth_basic/req off 2025-05-06 23:39:52 +09:00
rockstardev
9aa2d310f8
Not redirecting acme-challange url 2025-04-30 14:12:21 -05:00
2 changed files with 16 additions and 2 deletions

View File

@ -514,7 +514,21 @@ server {
listen [::]:80 {{ $default_server }};
{{ end }}
access_log /var/log/nginx/access.log vhost;
return 301 https://$host$request_uri;
# Allow acme challenge requests without redirect
location ^~ /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /usr/share/nginx/html;
try_files $uri =404;
break;
}
# Redirect all other requests to HTTPS
location / {
return 301 https://$host$request_uri;
}
}
{{ end }}

View File

@ -4,7 +4,7 @@ services:
bitcoind:
restart: unless-stopped
container_name: btcpayserver_bitcoind
image: ghcr.io/retropex/bitcoin:btcpay-28.1
image: btcpayserver/bitcoinknots:28.1
environment:
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
CREATE_WALLET: "false"