User Tools

Site Tools


projets:fuz:spaceapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
projets:fuz:spaceapi [2020-11-10 00:11] – changelog add PR to directory Lomanicprojets:fuz:spaceapi [2021-09-10 12:20] – [Resources] metrics.spaceapi.io -> .community Lomanic
Line 17: Line 17:
   * https://spaceapi.io/provide-an-endpoint/   * https://spaceapi.io/provide-an-endpoint/
   * https://github.com/SpaceApi/validator   * https://github.com/SpaceApi/validator
 +  * https://metrics.spaceapi.community/
  
 Example of served JSON: Example of served JSON:
Line 93: Line 94:
 <code> <code>
 $HTTP["host"] == "spaceapi.fuz.re" { # added by Lomanic 20201017 $HTTP["host"] == "spaceapi.fuz.re" { # added by Lomanic 20201017
-    $HTTP["scheme"] == "http"+        $HTTP["scheme"] == "http"
-        server.document-root = "/var/www/fuz.re/spaceapi/site"+                server.document-root = "/var/www/fuz.re/spaceapi/site"
                 $HTTP["url"] !~ "^/.well-known/acme-challenge/" {                 $HTTP["url"] !~ "^/.well-known/acme-challenge/" {
                         url.redirect = (".*" => "https://${url.authority}${url.path}${qsa}")                         url.redirect = (".*" => "https://${url.authority}${url.path}${qsa}")
                 }                 }
-    }+        }
  
         $SERVER["socket"] == ":443" {         $SERVER["socket"] == ":443" {
Line 125: Line 126:
 ==== 2020-11-04 ==== ==== 2020-11-04 ====
  
-Pull request opened https://github.com/SpaceApi/directory/pull/157 and merged! The hackerspace is now on https://api.spaceapi.io/!+Pull request opened https://github.com/SpaceApi/directory/pull/157 and merged! The hackerspace is now on [[https://api.spaceapi.io/]]!
projets/fuz/spaceapi.txt · Last modified: 2023-02-02 22:06 by 127.0.0.1