Update .env.example

pull/386/head
zanllp 2023-08-25 07:01:10 +08:00 committed by GitHub
parent aa4cee6b2c
commit 345709bcde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
# Copy this file and rename it to .env. Then, fill in the necessary values for your specific use case.
# This document is used for additional control over the security and privacy of IIB. By default, IIB is already sufficiently secure, and you do not need to take any additional actions.
# Copy this file and rename it to ".env" . Then, fill in the necessary values for your specific use case.
# Remember to never share your .env file with anyone else as it may contain sensitive information.
# This attribute is used for authentication. If you input a key here, it will be validated for authentication purposes.
@ -17,7 +18,7 @@ IIB_SERVER_LANG=auto
# If enabled, only access to the provided pre-set folders (including those provided by sd-webui and manually \
# added to Quick Move or specified via IIB_ACCESS_CONTROL_ALLOWED_PATHS) will be allowed.
# The available options are 'enable', 'disable', and 'auto'.
# The default value is 'auto', which will be determined based on the command-line parameters used to start sd-webui.
# The default value is 'auto', which will be determined based on the command-line parameters used to start sd-webui (such as --server-name, --share, --listen).
IIB_ACCESS_CONTROL=auto
# This variable is used to define a list of allowed paths for the application to access when access control mode is enabled.
@ -29,4 +30,4 @@ IIB_ACCESS_CONTROL=auto
# This variable is used to control fine-grained access control for different types of requests, but only if access control mode is enabled.
# It can be set to a string value that represents a specific permission or set of permissions, such as "read-only", "write-only", "read-write", or "no-access".
# This variable can be used to restrict access to certain API endpoints or data sources based on the permissions required by the user.
# IIB_ACCESS_CONTROL_PERMISSION=read-write
# IIB_ACCESS_CONTROL_PERMISSION=read-write