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

📚 Documentation: missing documentation for _APP_OPTIONS_ROUTER_PROTECTION #1761

Open
2 tasks done
hej2010 opened this issue Feb 11, 2025 · 1 comment
Open
2 tasks done
Labels
documentation Improvements or additions to documentation

Comments

@hej2010
Copy link

hej2010 commented Feb 11, 2025

💭 Description

The documentation does not mention _APP_OPTIONS_ROUTER_PROTECTION or what enabling it does.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@hej2010 hej2010 added the documentation Improvements or additions to documentation label Feb 11, 2025
@ItzNotABug
Copy link
Member

Hey there 👋,
_APP_OPTIONS_ROUTER_PROTECTION is used to filter allowed hosts but with stricter rules.
If enabled, only the predefined internal host (appwrite) and localhost will be allowed to access the API and do routing. This also prevents using custom domains added to a project for API access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants