<div dir='auto'><div>Hi Slawek,</div><div dir="auto"><br></div><div dir="auto">the Stork Server listen on localhost(127.0.0.1):8443. </div><div dir="auto">When i open the site https://localhost:8443 with Firefox on the Console from the Debian 12, i see the Stork welcome site, and i can login . When i connect the Server over nginx, i see not the full welcome site (no login mask, no Display the Version Nr from Stork etc), it Look like that not all could be loaded. </div><div dir="auto"><br></div><div dir="auto">Regards </div><div dir="auto">Ralf<br><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">Am 09.12.2024 13:50 schrieb Slawek Figiel <slawek@isc.org>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi Ralf!
<br>
<br>
You set up your NGINX server to listen on the localhost:
<br>
<br>
> upstream ui_rest {
<br>
> server localhost:8443;
<br>
> }
<br>
<br>
You need to listen on an interface that is reachable in your network
<br>
(e.g, IP address, hostname, or assigned domain).
<br>
<br>
Regards,
<br>
Slawek Figiel
<br>
<br>
On 07/12/2024 17:39, Ralf Figge wrote:
<br>
> Hello,
<br>
> I have Stork 2.0 running under Debian 12. I will put Stork behind a
<br>
> Proxy Server (nginx) using SSL. On the Pc, it works with localhost:8443.
<br>
> But it doesn´t work with nginx.
<br>
>
<br>
> Here my changed conf file :
<br>
>
<br>
> upstream ui_rest {
<br>
> server localhost:8443;
<br>
> }
<br>
>
<br>
> server {
<br>
> listen 443;
<br>
> server_name localhost;
<br>
> root /usr/share/stork/www;
<br>
> index index.html;
<br>
>
<br>
> location /api {
<br>
> proxy_pass https://ui_rest;
<br>
> proxy_next_upstream error timeout invalid_header http_500
<br>
> http_502 http_503 http_504;
<br>
> proxy_buffering off;
<br>
> proxy_set_header Accept-Encoding "";
<br>
> proxy_set_header Host $host;
<br>
> }
<br>
>
<br>
> location /swagger.json {
<br>
> proxy_pass https://ui_rest;
<br>
> proxy_next_upstream error timeout invalid_header http_500
<br>
> http_502 http_503 http_504;
<br>
> proxy_buffering off;
<br>
> proxy_set_header Accept-Encoding "";
<br>
> proxy_set_header Host $host;
<br>
> }
<br>
>
<br>
> location /stork-install-agent.sh {
<br>
> proxy_pass https://ui_rest;
<br>
> proxy_next_upstream error timeout invalid_header http_500
<br>
> http_502 http_503 http_504;
<br>
> proxy_buffering off;
<br>
> proxy_set_header Accept-Encoding "";
<br>
> proxy_set_header Host $host;
<br>
> }
<br>
>
<br>
> location /metrics {
<br>
> allow 127.0.0.1;
<br>
> deny all;
<br>
>
<br>
> proxy_pass https://ui_rest;
<br>
> proxy_buffering off;
<br>
> proxy_set_header Accept-Encoding "";
<br>
> proxy_set_header Host $host;
<br>
> }
<br>
>
<br>
> location / {
<br>
> try_files $uri $uri/ /index.html;
<br>
> }
<br>
> }
<br>
>
<br>
>
<br>
>
<br>
> The Second, the file "stork-install-agent.sh" is not in der Web-directory.
<br>
>
<br>
> Best regards
<br>
> Ralf
<br>
<br>
</p>
</blockquote></div><br></div></div></div>