http://4blcq4arxhbkc77tfrtmy4pptf55gjbhlj32rbfyskl672v2plsmjcyd.onion/cgit/paltepuk.git/tree/modules/web-server.nix
                                
                                
                                                                            If not, see <https://www.gnu.org/licenses/>. # Sets up nginx to serve the main site and also route to other webservers. # Sets up PHPFPM for the site's API. { ports , pkgs , config , lib , ... }: let inherit ( builtins ) toString ; inherit ( lib ) makeBinPath ; inherit ( pkgs ) callPackage ; inherit ( config . services ) nginx phpfpm ; site = "paltepuk" ; apiStorageDirectory = "/var/lib/paltepuk-api" ; in { ############################################################################## # nginx              ...