[stork-users] Stork 2.0

Ralf Figge Ralf.Figge at bitmail.prima.de
Sat Dec 7 16:39:41 UTC 2024


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