-
Notifications
You must be signed in to change notification settings - Fork 6
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
Hide gitea #563
Hide gitea #563
Conversation
19d2cfa
to
4e87b88
Compare
4e87b88
to
6efccaf
Compare
6efccaf
to
5305608
Compare
6adf165
to
b8312d3
Compare
location ~ / { | ||
return 404; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be taking precedence over /robots.txt. Maybe just remove the robots.txt location in the gitea server? If most things are 404 anyway then it's probably not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in 2982097.
2982097
to
51d2f49
Compare
The equal sign in the location block forces an exact match with the path requested and then stops searching for any more matches.
51d2f49
to
06bfcbd
Compare
Proxy api, and raw content requests to gitea, otherwise return 404.
The raw content is for readme images.
Closes #474.