Skip to content

Commit

Permalink
docs: Add custom host path to documentation
Browse files Browse the repository at this point in the history
Closes #143
  • Loading branch information
Regenhardt committed Jun 4, 2024
1 parent 9823ff9 commit e5c6f33
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ Users will now have to provide the API key to push packages:
dotnet nuget push -s http://localhost:5000/v3/index.json -k NUGET-SERVER-API-KEY package.1.0.0.nupkg
```

## Hosting on a different path

By default, BaGetter is hosted at the root path `/` (e.g. `bagetter.your-company.org`). You can host BaGetter at a different path (e.g. `bagetter.your-company.org/bagetter`) by setting the `PathBase` field:

```json
{
...
"PathBase": "/bagetter",
...
}
```

## Enable read-through caching

Read-through caching lets you index packages from an upstream source. You can use read-through
Expand Down

0 comments on commit e5c6f33

Please sign in to comment.