[stork-users] Stork 2.0

Slawek Figiel slawek at isc.org
Mon Dec 9 12:50:56 UTC 2024


Hi Ralf!

You set up your NGINX server to listen on the localhost:

 > upstream ui_rest {
 >      server localhost:8443;
 > }

You need to listen on an interface that is reachable in your network 
(e.g, IP address, hostname, or assigned domain).

Regards,
Slawek Figiel

On 07/12/2024 17:39, Ralf Figge wrote:
> Hello,
> I have Stork 2.0 running under Debian 12. I will put Stork behind a 
> Proxy Server (nginx) using SSL. On the Pc, it works with localhost:8443. 
> But it doesn´t work with nginx.
> 
> Here my changed conf file :
> 
> upstream ui_rest {
>      server localhost:8443;
> }
> 
> server {
>      listen       443;
>      server_name  localhost;
>      root   /usr/share/stork/www;
>      index  index.html;
> 
>      location /api {
>          proxy_pass https://ui_rest;
>          proxy_next_upstream error timeout invalid_header http_500 
> http_502 http_503 http_504;
>          proxy_buffering off;
>          proxy_set_header Accept-Encoding "";
>          proxy_set_header Host $host;
>      }
> 
>      location /swagger.json {
>          proxy_pass https://ui_rest;
>          proxy_next_upstream error timeout invalid_header http_500 
> http_502 http_503 http_504;
>          proxy_buffering off;
>          proxy_set_header Accept-Encoding "";
>          proxy_set_header Host $host;
>      }
> 
>      location /stork-install-agent.sh {
>          proxy_pass https://ui_rest;
>          proxy_next_upstream error timeout invalid_header http_500 
> http_502 http_503 http_504;
>          proxy_buffering off;
>          proxy_set_header Accept-Encoding "";
>          proxy_set_header Host $host;
>      }
> 
>      location /metrics {
>          allow 127.0.0.1;
>          deny all;
> 
>          proxy_pass https://ui_rest;
>          proxy_buffering off;
>          proxy_set_header Accept-Encoding "";
>          proxy_set_header Host $host;
>      }
> 
>      location / {
>          try_files $uri $uri/ /index.html;
>      }
> }
> 
> 
> 
> The Second, the file  "stork-install-agent.sh" is not in der Web-directory.
> 
> Best regards
> Ralf



More information about the Stork-users mailing list