-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bypass some file extensions #267
Comments
Are you using WebP Server Go to directly serve files?(e,g listening on port 80) If you have a reverse proxy(like Nginx) in front of WebP Server Go, you can write configuration that only forward image requests to WebP Server Go, as below:
Related docs page: https://docs.webp.sh/usage/usage-with-binary/ |
Actually I'm using cloudflare zero trust to bind webp-server with my domains, because I deployed webp-server-go on my NAS, and I can't get a public IP. But your reply inspire me, thx a lot. I'll do some research. |
bypass you mean throw an error |
Is your feature request related to a problem? Please describe.
My font file and imags are stored under a samge directory named "data", but I just only want webp-server to handle images but bypass the font file ( .woff2 ).
Describe the solution you'd like
I ran this webp-server-go by docker, so I would like to use environment to config the
bypass file extension
.Describe alternatives you've considered
config.json is also OK.
Additional context
I didn't find any information of proxying files, if this is a function that is already be implemented, can you give me the documention link or something else?
The text was updated successfully, but these errors were encountered: