linusgroh’s avatarlinusgroh’s Twitter Archive—№ 1,452

  1. …in reply to @jpmens
    @jpmens Probably not sexy, but I suppose a njs script could do the job? r.internalRedirect(uri) and fs.readFileSync might be useful. nginx.org/en/docs/njs/reference.html
    1. …in reply to @linusgroh
      @jpmens Or subrequest? Either way, here are some examples. github.com/xeioex/njs-examples/blob/master/README.rst