Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

upstream mft_proxy {
    ip_hash;
    server <SERVERNAME or SERVER IP>:5000;
    keepalive 10;
}

server {
listen <SERVERNAME or SERVER IP>::80 default_server;

location / {
        try_files $uri $uri/ /index.html;
root "/var/www/localhost/htdocs";
}

    location /service/ {
      proxy_pass      http http://mft_proxy/;
    }

# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}

...