nixcloud / nixcloud-webservices

This nixpkgs extension, called nixcloud-webservices, focuses on ease of deployment of web-related technologies.

Home Page:https://nixcloud.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webservices with static documents in ${config.stateDir}/www

qknight opened this issue · comments

motivation

  • static-darkhttpd and static-nginx should have an example index.html (and also for documents created by the user later on) served inside a www directory which should be created inside ${config.stateDir}.
  • leaps: create example document with text so that when the user visits the webservice for the first time sees something to edit instead of having to add this manually

for both static-darkhttpd and static-nginx the test.nix uses hardcoded values in the test:

see https://raw.githubusercontent.com/nixcloud/nixcloud-webservices/master/modules/web/services/static-darkhttpd/test.nix

@qknight: Should this only be for the tests or for the actual production setup?

@aszlig this new concept should be for production as it makes sense for supporting legacy services.

@qknight: Do the commits that reference this issue also address the issue?

these patches are very helpful, thanks

@leenaars you gona like this fixes from aszlig! also current leaps works perfectly again!