Nginx container always restated

Hi All,
I just tried to setup a kobo in my server, I follow the setups like suggested on github. I am installing these behind reverse proxy.
I notice that all container is running well, but only one has problem, the nginx container is always restarted after a few seconds.

here is the error log on kobo-docker/log/nginx/error.log
2021/01/15 04:11:07 [emerg] 1#1: invalid server name or wildcard “kc…internal” on 0.0.0.0:80
2021/01/15 04:12:09 [emerg] 1#1: invalid server name or wildcard “kc…internal” on 0.0.0.0:80
2021/01/15 04:13:10 [emerg] 1#1: invalid server name or wildcard “kc…internal” on 0.0.0.0:80

I notice that kc is the kobocat prefix…

any suggestions on this one?

It should just be kc.internal (only one dot). Check your nginx configuration file to see if somehow there is a mistake there.

1 Like