mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
docs: Match and pass /litrpc.* locations in nginx
Also escape the "." for more precise regex matching
This commit is contained in:
parent
c0026405af
commit
5c6fce304e
1 changed files with 1 additions and 11 deletions
|
|
@ -39,17 +39,7 @@ http {
|
|||
proxy_pass https://172.17.0.1:8443/;
|
||||
}
|
||||
|
||||
location ~* ^/lnrpc.Lightning/ {
|
||||
# This cannot have a slash at the end!
|
||||
proxy_pass https://$lnd_backend;
|
||||
}
|
||||
|
||||
location ~* ^/looprpc.SwapClient/ {
|
||||
# This cannot have a slash at the end!
|
||||
proxy_pass https://$lnd_backend;
|
||||
}
|
||||
|
||||
location ~* ^/poolrpc.Trader/ {
|
||||
location ~* ^/(ln|loop|pool|lit)rpc\. {
|
||||
# This cannot have a slash at the end!
|
||||
proxy_pass https://$lnd_backend;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue