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

caddy: properly handle React frontend #28

Closed
skyzh opened this issue Nov 6, 2020 · 1 comment · Fixed by #46
Closed

caddy: properly handle React frontend #28

skyzh opened this issue Nov 6, 2020 · 1 comment · Fixed by #46
Assignees

Comments

@skyzh
Copy link
Member

skyzh commented Nov 6, 2020

Now the react frontend uses / and /docs/*. We should rewrite all these requests to index.html.

@skyzh
Copy link
Member Author

skyzh commented Nov 8, 2020

This config is for caddy v1.

    rewrite /docs {
        to {path} /
    }

@BugenZhao BugenZhao linked a pull request Nov 8, 2020 that will close this issue
@skyzh skyzh closed this as completed in #46 Nov 8, 2020
@BugenZhao BugenZhao reopened this Nov 8, 2020
@skyzh skyzh closed this as completed Nov 9, 2020
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

Successfully merging a pull request may close this issue.

2 participants