Skip to content
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

symlinks not followed #9

Closed
tetzank opened this issue Nov 12, 2015 · 2 comments
Closed

symlinks not followed #9

tetzank opened this issue Nov 12, 2015 · 2 comments

Comments

@tetzank
Copy link

tetzank commented Nov 12, 2015

brotli_static does not follow symlinks like gzip_static does.

I'm not sure what's going on here. If the request path needs to follow a symlink, .br files are never picked up, not even with always. .gz files are used without a problem. If i place all files directly in the root folder, not following any symlinks, brotli_static starts to work fine.

I should probably stop using symlinks. Still an odd behaviour.

@PiotrSikora
Copy link
Contributor

I cannot replicate this, symlinks work fine for me.

Are the permissions correct? Is there anything in the error.log? Could you post more details about symlinks and their destination (ideally with all permissions along the way)?

@tetzank
Copy link
Author

tetzank commented Nov 13, 2015

Oh, boy. You're right. The file permission of the .br file wasn't correct. Not sure how i missed that. The brotli encoder just sets 600 and i forgot to change it.

Sorry for the noise and thanks for this nice module.

@tetzank tetzank closed this as completed Nov 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants