Skip to content

Commit

Permalink
docs: update server-installation.mdx for inactiveTimeoutMinutes in ap…
Browse files Browse the repository at this point in the history
…p.conf (#635)
  • Loading branch information
ZhaoYP-2001 authored Sep 27, 2024
1 parent 83bf064 commit a4258af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/basic/server-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ logPostOnly = true
origin = "https://door.casdoor.com"
staticBaseUrl = "https://cdn.casbin.org"
enableGzip = true
inactiveTimeoutMinutes =
```

- `appname` is the application name, which currently has no practical use.
Expand All @@ -163,6 +164,7 @@ As a beginner, you only need to modify two items: `driverName` and `dataSourceNa
- `origin` is the origin backend domain name.
- `staticBaseUrl` is the address of the static image used when the system initializes the database.
- `enableGzip` will accept and respond with gzip encoding if the request header includes `Accept-Encoding=gzip`.
- `inactiveTimeoutMinutes` sets the maximum number of minutes of inactivity. If the inactivity time reaches this value, then casdoor will log the user out. Empty value or value less than or equal to 0 means there is no limit on the user's inactivity time.

### Via Environment Variables

Expand Down

0 comments on commit a4258af

Please sign in to comment.