Skip to content

Commit

Permalink
Update Readme files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-esmp authored Jan 17, 2021
1 parent ae62bb9 commit 37d3874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
}
```

Default url to view logs is `http://<your-app>/serilog-ui`. If you want to change this url path, just config route prefix:
Default url to view log page is `http://<your-app>/serilog-ui`. If you want to change this url path, just config route prefix:
```csharp
app.UseSerilogUi(option => option.RoutePrefix = "logs");
```
**Authorization configuration required**

By default serilog-ui allows access to log page only for local requests. In order to give appropriate rights for production use, configuring authorization.You can secure log viewer by allwoing specific users or roles to view logs:
By default serilog-ui allows access to log page only for local requests. In order to give appropriate rights for production use, you need to configuring authorization. You can secure log page by allwoing specific users or roles to view logs:
```csharp
public void ConfigureServices(IServiceCollection services)
{
Expand Down

0 comments on commit 37d3874

Please sign in to comment.