Add plumber api routing

  • Add a location block each time you want to add an API.
    location /palmer/ {
      # Check the book to see if he has added more!
      proxy_pass http://localhost:8555/;
      proxy_set_header Host $host;
    }
  • sudo systemctl restart nginx
  • Test it at your “Public IPv4 DNS” /palmer/stats and /palmer/__docs__/.