justinrh 302 Posted November 3 Posted November 3 (edited) Oh my, I'm getting a bunch of response headers from my Caddy RP that I'm guessing I don't need on the Internet. Can someone confirm what is NOT needed for remote access? 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 access-control-allow-methods GET, POST, PUT, DELETE, PATCH, OPTIONS access-control-allow-private-network true private-network-access-id private-network-access-name Man, it takes ~100 calls just to load the log in page Edited November 3 by justinrh
js28194 82 Posted November 3 Posted November 3 So confusing... non of this needed for a simple caddy reverse SSL reverse proxy. At the most basic level you caddy file needs to look likes this { email myemail@gmail.com } emby.mydomain.com { log { output file C:\caddy\logs\emby_access.log { roll_size 5MiB # Set max size 5 MB roll_keep 2 # Keep at most 2 log files roll_keep_for 96h # Keep log files for 4 days } } reverse_proxy http://INTERNNAL_IP_ADDRESS:8096 } You DON'T even need that entire Log block if you don't want it. OBVIOUSLY your email is address is yours, and reverse proxy domain should reflect your domain and internal IP Address. What you are trying to accomplish?
justinrh 302 Posted November 3 Author Posted November 3 I'm trying to do what I said - filter out some of the response headers Emby is sending out.
justinrh 302 Posted November 3 Author Posted November 3 12 hours ago, pwhodges said: Why? Paul See the first post.
justinrh 302 Posted November 5 Author Posted November 5 @Lukecan you give some insight? It looks like LAN-appropriate headers are going WAN. I that because I'm using a RP? Are they useful at all across the WAN?
Solution Luke 43757 Posted November 5 Solution Posted November 5 the server doesn't try to differentiate when it comes to those headers. 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