justinrh 287 Posted 21 hours ago Posted 21 hours ago (edited) I was looking at my Caddy reverse proxy logs and see Emby is handing out a large amount of response headers. If I'm misunderstand the logging, please tell me. My main question is, are all of these methods necessary for media playback and picture upload? : "Access-Control-Allow-Methods": [ "GET, POST, PUT, DELETE, PATCH, OPTIONS" ] Can I remove some of those methods? What I really don't like about this is that all of this stuff is handed out even for 404's, like when the public is scanning and fishing for services! the whole thing: "resp_headers": { "Via": [ "1.1 Caddy" ], "Strict-Transport-Security": [ "max-age=31536000" ], "Content-Type": [ "text/plain" ], "Access-Control-Allow-Methods": [ "GET, POST, PUT, DELETE, PATCH, OPTIONS" ], "Cross-Origin-Resource-Policy": [ "cross-origin" ], "Private-Network-Access-Name": [ "server name that emby doesn't like" ], "Server": [ "UPnP/1.0 DLNADOC/1.50" ], "Content-Length": [ "39" ], "Access-Control-Allow-Origin": [ "*" ], "Date": [ "Mon, 31 Aug 2026 14:01:56 GMT" ], "Access-Control-Allow-Headers": [ "Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Length, Content-MD5, Content-Range, Content-Type, Date, Host, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, Origin, OriginToken, Pragma, Range, Slug, Transfer-Encoding, Want-Digest, X-MediaBrowser-Token, X-Emby-Token, X-Emby-Client, X-Emby-Client-Version, X-Emby-Device-Id, X-Emby-Device-Name, X-Emby-Authorization" ], "Access-Control-Allow-Private-Network": [ "true" ], "Private-Network-Access-Id": [ "8yuizxfe9a604c159a4dbd55fad7bjku" ] } Edited 21 hours ago by justinrh
Solution Luke 42998 Posted 21 hours ago Solution Posted 21 hours ago Hi, we don't actually just put or patch, but the rest are needed. 1
justinrh 287 Posted 21 hours ago Author Posted 21 hours ago Can you or I not respond with all that stuff for 404's?
Luke 42998 Posted 21 hours ago Posted 21 hours ago Possibly but I'm not sure. That will require some evaluation.
rdhardi 44 Posted 18 hours ago Posted 18 hours ago (edited) I realize this post is marked as solved, but I just had to comment because it was such a coincidence to me. Off topic from the OP's post, but when I checked my Caddy reverse proxy logs this morning, I saw mostly 404s as expected...except for a couple of 200s from unknown ips on openapi.json and swagger.json files. Not sure what that means, but I disabled remote access while I investigate (sorry hubby! ). If I can't figure it out, I'll create a new post. Edited 17 hours ago by rdhardi 1
justinrh 287 Posted 35 minutes ago Author Posted 35 minutes ago From what I could tell, the 404's were from scanners trying to look for known resources or figure out what kind of service I'm hosting. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now