difference of running wapp as scgi or server
(1) By jicman on 2019-07-02 03:18:29 [link]
Greetings! In the wapp documentation, it states,
"To run the app using the built-in web-server bound to all TCP addresses and listening on port 8080, use:
tclsh hello.tcl --server 8080"
"To run the app as an SCGI server listening on port 9001:
tclsh hello.tcl --scgi 9001"
what are the difference between these? You can point me to the web, if there are place that explain the differences. Thanks.
(2) By drh on 2019-07-02 12:50:46 in reply to 1
SCGI is a different protocol. See https://en.wikipedia.org/wiki/Simple_Common_Gateway_Interface
SCGI is typically used with the Nginx webserver. Nginx translates the HTTP request into SCGI and then forwards the request to the Wapp application.