Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/guide/essentials/history-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,21 @@ For Node.js/Express, consider using [connect-history-api-fallback middleware](ht
</configuration>
```

#### Azure Static Web Apps
1. Create the file staticwebapp.config.json in your public folder with the following:

```
{
"navigationFallback": {
"rewrite": "/index.html",
"exclude": [
"/img/*.{png,jpg,gif,webp}",
"/css/*"
]
}
}
```

#### Caddy v2

```
Expand Down