Configuration file
This is the default configuration file for plugin template: default
```ini [general]
Notes about the name of the plugin:
- the name of the plugin is given by the content of .layerapi2_label
in this directory (format: plugin_{name of the plugin}@mfbase)
- the old "name" key in this file is not used anymore
Version of the plugin (X.Y.Z)
If the value is {{MFMODULE_VERSION}},
the current module version is used
_version=0.0.1
Release of the plugin
_release=1
Summary (one line) of the goal of the plugin
_summary=one line summary
License of the plugin
_license=Proprietary
URL of the plugin homepage
_url=http://yourpluginhomepage
Name of the maintainer of the plugin on the form "Firstname FAMILYNAME "
_maintainer=Firstname FAMILYNAME
Vendor of the plugin
_vendor=MetWork
If you want a dedicated postgresql database for your plugin, set to 1 (else 0)
_use_postgresql=1
If you want a dedicated webdav storage directory for your plugin, set to 1 (else 0)
_use_storage=1
Coma separated nginx allow values for HTTP storage requests
http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
by default (all) everything is open, but if you change this only
what you configured will be authorized
example: storage_access_allows=192.168.1.1,192.168.2.0/24
empty (or "null") value means => everything is forbidden
storage_access_allows=all
htpasswd filename (relative to the plugin directory) to restrict access
by username/password for HTTP storage requests
If the path startswith /, we consider this is an absolute path, else
this is relative to plugin directory.
See this guide to make htpasswd files:
https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/
(null => no auth necessary)
storage_auth_passwd_filename=null
if storage_access_allows != all and storage_read_auth_passwd_filename != null
specify if both limitations must be valid ("all") or at least one ("any")
storage_satisfy=all
Can be use to forbid some dav methods for this plugin
(accepted dav methods at module level is available in ${MFBASE_NGINX_STORAGE_DAV_METHODS})
(coma separated list, null => nothing is forbiden)
storage_forbidden_dav_methods=null
Access permissions for new dav created files
(coma separated list)
Only useful if _use_storage=1
example :
storage_dav_access=user:rw,group:rw,all:r
default :
- if _use_storage=1 : user:rw
- if _use_storage=0 : null
storage_dav_access=user:rw
If storage_autoindex = 1 (default) in module configuration, sets the format of directory listing
(see http://nginx.org/en/docs/http/ngx_http_autoindex_module.html#autoindex_format)
storage_autoindex_format=html
```