Running a Rust web server as a service behind a proxy is the sane way to go. Part 1: Using Rust to build a bare-bone web server. Let's assume this part is done because programming is easy. Part 2: Configuring the web server to run in the background as a service . Last part: Further configuring the web server to run behind a proxy so that to keep it safe from the Internet, and to utilize many features which have already been built with the proxy. Running a service is operating-system dependent. Different operating system has a different configuration for running a service. In fact, some operating systems has a couple of ways to run a service. Yet, some may prefer to run a web server in a container like Docker. However, a container requires much more resources than a service. There is no point in building a full-blown web server using Rust especially for a narrow business purpose, even though it can. Just like any web server, a Rust web server...
Programming notes around my own bleeding-edge endeavors