At the moment, we serve the full directory for acme challenges (including an index which lists the files inside). I am not sure if we need to expose the index, and if it is up to me, I would not expose it.
If we can not expose the directory, we should move PRIV_SERVE_FILES() into common.h and use it rather than SERVE_FILES() in hgredirector.
At the moment, we serve the full directory for acme challenges (including an index which lists the files inside). I am not sure if we need to expose the index, and if it is up to me, I would not expose it.
If we can not expose the directory, we should move
PRIV_SERVE_FILES()
intocommon.h
and use it rather thanSERVE_FILES()
inhgredirector
.