bug#26567: guix publish Resource not found
El Wed, 19 Apr 2017 23:48:38 +0200 l...@gnu.org (Ludovic Courtès) escribió: > Marius Bakkeskribis: > > > Quiliro writes: > > > >> I have run as root: > >> guix archive --generate-key > >> guix publish --user=quiliro > >> But when opening web page: > >> http://0.0.0.0:8080/ > >> I get: > >> Resource not found: / > > > > That is expected. > > Indeed, until now ‘guix publish’ did not show anything for / and > /index.html. Fixed in commit > e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4. > > Though note that ‘guix publish’ is meant to serve data to Guix > clients; it’s not meant to serve HTML pages to human beings. :-) > > Thanks, > Ludo’. Thank you both. -- Example of rude top posting: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I leave quotations after my reply? Saluton, Quiliro 0987631031
bug#26567: guix publish Resource not found
Marius Bakkeskribis: > Quiliro writes: > >> I have run as root: >> guix archive --generate-key >> guix publish --user=quiliro >> But when opening web page: >> http://0.0.0.0:8080/ >> I get: >> Resource not found: / > > That is expected. Indeed, until now ‘guix publish’ did not show anything for / and /index.html. Fixed in commit e1bbc0e38d0c9a5d248ec8b686fdd0a972a61ff4. Though note that ‘guix publish’ is meant to serve data to Guix clients; it’s not meant to serve HTML pages to human beings. :-) Thanks, Ludo’.
bug#26567: guix publish Resource not found
Quilirowrites: > I have run as root: > guix archive --generate-key > guix publish --user=quiliro > But when opening web page: > http://0.0.0.0:8080/ > I get: > Resource not found: / That is expected. Note that "0.0.0.0" just means "listen on all available IPv4 addresses", I'm surprised it works in a browser. You should be able to use that URL from a different machine by invoking guix with "--substitute-urls='http://x.x.x.x:8080'" where x.x.x.x represents the IPv4 address of the machine running `guix publish`. Note that the "client" machine also needs to authorize the key generated in the first step. Hope this helps! signature.asc Description: PGP signature
bug#26567: guix publish Resource not found
I have run as root: guix archive --generate-key guix publish --user=quiliro But when opening web page: http://0.0.0.0:8080/ I get: Resource not found: / -- Saluton, Quiliro 0987631031