Running Swi Prolog Http Server Behind Nginx
++++
:icons: font
IMPORTANT: This post will remind me how to run the SWI-Prolog http server behind an nginx reverse proxy.
NOTE: This assumes experience with nginx and already have a server up and running.
SWI-Prolog has a built-in webserver in library(http/http_server). Of course exposing this kind of thing directly to the internet is never a good idea and most people put nginx in front of it. SSL can be offloaded to nginx as well.