Hi All! Let me provide more details on my question in previous old topic (apparently it was related to hosted GoodData, not cloud-native).
I’ve just installed GoodData.CN on AWS EC2 instance using docker container using the following docker-compose.yml file:
services:
gooddata:
image: gooddata/gooddata-cn-ce
container_name: gooddata-dev
restart: always
environment:
- LICENSE_AND_PRIVACY_POLICY_ACCEPTED=YES
ports:
- 3000:3000
- 5432:5432
volumes:
- ./data:/data
I also have a new domain for this with certificate, let’s say it’s gooddata-dev.example.com. This domain is served by nginx on the same server with the following config:
server {
listen 80;
server_name gooddata-dev.example.com;
#Rewrite all nonssl requests to ssl.
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name gooddata-dev.example.com;
ssl_certificate /etc/ssl/example.crt;
ssl_certificate_key /etc/ssl/example.key;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:3000;
proxy_read_timeout 90;
proxy_http_version 1.1;
}
}
Now, docker container starts okay, but when I try to navigate to https://gooddata-dev.example.com I get the following error:
{"title":"Not Found","status":404,"detail":"404 NOT_FOUND \"Hostname is not registered\"; nested exception is errorType=com.gooddata.tiger.grpc.error.GrpcPropagatedClientException, message=No organization found for hostname gooddata-dev.example.com,<no detail>","traceId":"911bacdd37104e6d"}
How can I “register” my domain name “gooddata-dev.example.com” ?
Best regards, Nick.
Best answer by Martin Svadlenka
View original