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

Unexpected 403s #38

Open
tontonsb opened this issue Nov 8, 2024 · 1 comment
Open

Unexpected 403s #38

tontonsb opened this issue Nov 8, 2024 · 1 comment
Assignees

Comments

@tontonsb
Copy link

tontonsb commented Nov 8, 2024

Sorry, how do you make route params optional here? Or is it the nginx config that makes the 403 for whatever reason?

Anyway, I was looking at some page at the docs and wanted to go to the root of the docs, so I just deleted the trail of the URI and it turns out that https://tempestphp.com/docs/ doesn't work. And neither does https://tempestphp.com/docs. No luck with https://tempestphp.com/docs/framework/ either. There should be some reasonable redirects from those URIs or at least a 404 instead of the 403.

Btw I was expecting to discover the controller here. How comes the route is defined without the docs/ prefix?

@brendt
Copy link
Member

brendt commented Nov 9, 2024

Yeah it's a problem with how nginx is configured. Thanks for pointing that out, I'll look into it!

@brendt brendt self-assigned this Nov 9, 2024
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