Have nginx handle the static files, better ? #5144
Unanswered
BobSquarePants
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Static files like JS, CSS, static images should be public, why do you need protection there? For serving things like user-uploaded content where protection might make sense: Ue |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I recently make nginx handle my static files...
Does is it wokring really faster ? I've run some home-made benchmark, but I don't see a clear delta. Does someone have some evidences / facts about it ?
In my Flask I had created some protection for the static file, but now nginx handle them, I have to redo it in nginx... :'( by any chance do you know an easy way (Pythonic) to create some rule in nginx and ban offer in the nftable ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions