mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 13:00:41 +02:00
Compare commits
4 Commits
d1544cab0e
...
b2b59ee607
Author | SHA1 | Date | |
---|---|---|---|
b2b59ee607 | |||
2f313bfa8c | |||
![]() |
f3a319e7f9 | ||
![]() |
9aa2d310f8 |
@ -514,7 +514,21 @@ server {
|
||||
listen [::]:80 {{ $default_server }};
|
||||
{{ end }}
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
|
||||
# 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 }}
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user