Thanks to the help of the forum I was able to install TTN 3 (with self-signed certificates). Unfortunately I still have a small problem which I cannot solve. The problem is as soon as I open the web console in my browser (at https://mydomain.com/console) and I press the login button I am automatically redirected to http://localhost:1885. If I change the URL manually it is possible for me to log in to the system and work with it normally. Nevertheless I would like to avoid having to change the URL manually. Does anybody have a hint how I could fix this error ?
is:
database-uri: 'postgres://root@cockroach:26257/ttn_lorawan?sslmode=disable'
email:
sender-name: 'The Things Stack'
sender-address: 'noreply@mydomain.com'
network:
name: 'The Things Stack'
console-url: 'https://mydomain.com/console'
identity-server-url: https://mydomain.com//oauth'
oauth:
ui:
canonical-url: 'https://mydomain.com/oauth'
is:
base-url: 'https://mydomain.com/api/v3'
http:
cookie:
block-key: '' # block key available in my file
hash-key: '' # hash key available in my file
metrics:
password: '' # Password available in my original file
pprof:
password: '' # Password available in my original file
gs:
mqtt:
public-address: 'mydomain.com:1882'
public-tls-address: 'mydomain.com:8882'
mqtt-v2:
public-address: 'mydomain.com:1881'
public-tls-address: 'mydomain.com:8881'
gcs:
basic-station:
default:
lns-uri: 'wss://mydomain.com:8887'
the-things-gateway:
default:
mqtt-server: 'mqtts://mydomain.com:8881'
console:
ui:
canonical-url: 'https://mydomain.com/console'
is:
base-url: 'https://mydomain.com/api/v3'
gs:
base-url: 'https://mydomain.com/api/v3'
ns:
base-url: 'https://mydomain.com/api/v3'
as:
base-url: 'https://mydomain.com/api/v3'
js:
base-url: 'https://mydomain.com/api/v3'
qrg:
base-url: 'https://mydomain.com/api/v3'
edtc:
base-url: 'https://mydomain.com/api/v3'
oauth:
client-id: '' # In file an id has been specified
client-secret: '' # In file an secret has been specified
The output of ttn-lw-stack config | grep localhost is as follows: