Re: [naviserver-devel] (no subject)

2024-03-05 Thread Georg Lehner
Hello Maksym, The log files of the Naviserver  could shed light on the issue. And without knowing the contents of dz_nsd.tcl it is difficult to give feedback. Finally: you have both SSL and plain HTTP frontend (and backend?) configured, so the result might differ depending if you make a http

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Maksym Zinchenko
Hello, here is my dz_nsd.tcl set homedir [file dirname [file dirname [info > nameofexecutable]]] > set bindir ${homedir}/bin > set hostnamedev.daidze.org > set servers [glob -directory

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Georg Lehner
Hello Maksym, The information you sent clarifies most questions. Please copy also the logs when you do a https request to each of the domains. I recommend e.g. running curl -v https://dummy1.daidze.org, pasting its output and then pasting the respective part of the log, then the next. You n

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Georg Lehner
Hello Maksym, we can see two requests, the lines starting with "Ns_SockAccept" and ending with "[0] end of job". I singled them out from your message below. However, we do not know the request you sent in each case. What we can see:  they are only https requests, since only nsssl is involved

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Maksym Zinchenko
I think it's still smth with Naviserver. When there is no domain name on request, even if I send a Host, the default server will always respond. For example: curl -v -H "Host: dummy1.daidze.com" http://172.17.0.1:8080 > * Trying 172.17.0.1:8080... > * Connected to 172.17.0.1 (172.17.0.1) port 80

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Georg Lehner
Hi Maksym, First you can test Naviserver bei doing the curl requests direct to the IP address and port where Naviserver is listening.  You can add the Host header via the -H switch. If you get the right responses for the different hosts, then the following might help: https://stackoverflow

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Gustaf Neumann (sslmail)
Hi Maxsym, if i understand correctly, you are sending from the docker host requests to a single dockerized nginx instance, that forwards these requests to a single dockerized nsd backend instance. The nginx instance distinguishes the incoming requests to the same port based on the host header f

Re: [naviserver-devel] (no subject)

2024-03-05 Thread Maksym Zinchenko
Hello, no right now i have single nsd with many subdomains clients, without docker. For example: sub1.domain.com, sub2.domain.com etc. What i want is to move each one of this subdomains to a separeted docker container. But I need to move them one by one, because I still testing my application on d