Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3655

How to serve acme-challenge file dynamically with Jester REST API?

$
0
0

Is it possible to dynamically serve the acme challenge file generated and required by certbot with rest api by jester with nim lang?

I have this code

get "/.well-known/acme-challenge/@challenge":      writeFile(getCurrentDir() / @"challenge", @"challenge")      sendFile getCurrentDir() / @"challenge"

which works if used with browser but doesn’t work with certbot.


Viewing all articles
Browse latest Browse all 3655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>