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

add url handling #16

Open
3 tasks
ModischFabrications opened this issue Apr 28, 2020 · 2 comments
Open
3 tasks

add url handling #16

ModischFabrications opened this issue Apr 28, 2020 · 2 comments
Assignees

Comments

@ModischFabrications
Copy link
Owner

  • reroute unknown paths back to "/"
  • offer version on "/version"
  • offer debug stuff on "/debug"

plaintext is useful for healthchecks, won't need to build the site.

@ModischFabrications
Copy link
Owner Author

Easier with Caddy now, just remember to remap paths to /api

@ModischFabrications
Copy link
Owner Author

https://caddy.community/t/remove-path-prefix-on-reverse-proxy/14325

Caddyfile should contain a "handle" block that takes in /api/* for all calls to cutsolver.

Remember to change URL in docker compose as well!

@ModischFabrications ModischFabrications self-assigned this Apr 15, 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

1 participant