caddy-s3-proxy icon indicating copy to clipboard operation
caddy-s3-proxy copied to clipboard

s3 proxy plugin for caddy

Results 20 caddy-s3-proxy issues
Sort by recently updated
recently updated
newest added

I believe this fixes #63 - I was running into the same issue when hosting a vue app on the root `/` -> `index.html` I'm running the plugin with this...

Certain requests sent from a Browser are not correctly resolved: ``` Feb 01 11:03:50 wraxx-html-0001 bash[9696]: {"level":"debug","ts":1643709830.4053314,"logger":"http.handlers.s3proxy","msg":"get from S3","bucket":"wraxx","key":"/dash.simonjenny.dev/index.html"} Feb 01 11:00:47 wraxx-html-0001 bash[9696]: {"level":"debug","ts":1643709647.560506,"logger":"http.handlers.s3proxy","msg":"get from S3","bucket":"wraxx","key":"/{http.request.host}/index.html"} ``` I already...

Aims to fix https://github.com/lindenlab/caddy-s3-proxy/issues/52

Unlike `ResponseWriter.Write`, `io.Copy` doesn't add the deferred headers. Deferred headers are applied _after_ the proxied response. This (not standalong) is CORS configuration, for example, that only works with the change....

Following the CORS configuration in https://github.com/caddyserver/website/issues/324#issuecomment-1629691031 I see that my endpoint using caddy-s3-proxy doesn't defer the response headers. ~~Could it be because this module doesn't call `next.ServeHttp(w, r)` in the...

[https://github.com/caddyserver/caddy/issues/5647](url)

``` Aug 02 15:34:06 mc-tx caddy[2432909]: {"level":"debug","ts":1690961646.5239983,"logger":"http.handlers.s3proxy","msg":"get from S3","bucket":"static","key":"/wx_sj9_web/index.html"} Aug 02 15:34:06 mc-tx caddy[2432909]: {"level":"debug","ts":1690961646.5725636,"logger":"http.log.error","msg":"can not view a directory","request":{"remote_ip":"118.x.x.x","remote_port":"62536","proto":"HTTP/3.0","method":"GET","host":"swxb.xxx","uri":"/","headers":{"Sec-Fetch-Mode":["navigate"],"Sec-Ch-Ua-Mobile":["?0"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Dest":["document"],"Accept-Encoding":["gzip, deflate, br"],"If-Modified-Since":["Wed, 02 Aug 2023 07:27:02 GMT"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Site":["none"],"Sec-Fetch-User":["?1"],"If-None-Match":["\"bdfba442eeb67438a552cbdf0a2fa8dd\""],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64;...

Hi, Can the module be updated to look for SSL files on local disk before checking S3. If the file exists locally, then s3 request is not needed. This significantly...

I will open a PR shortly with a fix. The `key` argument passed to ConstructListObjInput function is a path such as `/my_folder/`. The function trims the final `/` off the...