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

Exclude specific path from /\. {deny all} #52

Closed
EvgeniiProkofev opened this issue Dec 12, 2018 · 1 comment
Closed

Exclude specific path from /\. {deny all} #52

EvgeniiProkofev opened this issue Dec 12, 2018 · 1 comment

Comments

@EvgeniiProkofev
Copy link

Hi. I am looking for advise. I using TeamCity server behind Nginx reverse proxy. Recently faced a problem when Nginx deny to download zip files from path my-site/some-url/.teamcity/coverage_idea/coverage.zip
My workaround looks like:
location ~ /\.(?!well-known|teamcity) { deny all; }
But I wish to be more precise. Should I include "allow-block" in reverse-proxy block?

@0xb4lint
Copy link

0xb4lint commented Dec 18, 2018

Hello @EvgeniiProkofev!
Yes, you should create a location block.

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