|
@@ -2,7 +2,7 @@ Index: sftpgo/sftpgo.json
|
|
|
===================================================================
|
|
|
--- sftpgo.orig/sftpgo.json
|
|
|
+++ sftpgo/sftpgo.json
|
|
|
-@@ -139,7 +139,7 @@
|
|
|
+@@ -148,7 +148,7 @@
|
|
|
},
|
|
|
"data_provider": {
|
|
|
"driver": "sqlite",
|
|
@@ -11,7 +11,7 @@ Index: sftpgo/sftpgo.json
|
|
|
"host": "",
|
|
|
"port": 0,
|
|
|
"username": "",
|
|
|
-@@ -150,14 +150,14 @@
|
|
|
+@@ -159,7 +159,7 @@
|
|
|
"track_quota": 2,
|
|
|
"delayed_quota_update": 0,
|
|
|
"pool_size": 0,
|
|
@@ -19,7 +19,8 @@ Index: sftpgo/sftpgo.json
|
|
|
+ "users_base_dir": "/srv/sftpgo/data",
|
|
|
"actions": {
|
|
|
"execute_on": [],
|
|
|
- "hook": ""
|
|
|
+ "execute_for": [],
|
|
|
+@@ -167,7 +167,7 @@
|
|
|
},
|
|
|
"external_auth_hook": "",
|
|
|
"external_auth_scope": 0,
|
|
@@ -28,16 +29,28 @@ Index: sftpgo/sftpgo.json
|
|
|
"prefer_database_credentials": false,
|
|
|
"pre_login_hook": "",
|
|
|
"post_login_hook": "",
|
|
|
-@@ -193,9 +193,9 @@
|
|
|
- "proxy_allowed": []
|
|
|
+@@ -214,10 +214,10 @@
|
|
|
+ "render_openapi": true
|
|
|
}
|
|
|
],
|
|
|
- "templates_path": "templates",
|
|
|
- "static_files_path": "static",
|
|
|
+- "openapi_path": "openapi",
|
|
|
- "backups_path": "backups",
|
|
|
+ "templates_path": "/usr/share/sftpgo/templates",
|
|
|
+ "static_files_path": "/usr/share/sftpgo/static",
|
|
|
++ "openapi_path": "/usr/share/sftpgo/openapi",
|
|
|
+ "backups_path": "/srv/sftpgo/backups",
|
|
|
"web_root": "",
|
|
|
"certificate_file": "",
|
|
|
"certificate_key_file": "",
|
|
|
+@@ -279,7 +279,7 @@
|
|
|
+ "auth_type": 0,
|
|
|
+ "encryption": 0,
|
|
|
+ "domain": "",
|
|
|
+- "templates_path": "templates"
|
|
|
++ "templates_path": "/usr/share/sftpgo/templates"
|
|
|
+ },
|
|
|
+ "plugins": []
|
|
|
+ }
|
|
|
+\ No newline at end of file
|