Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

1.5 KB
Raw Blame
const httpSettings = [
	{
		label: 'HTTP URL',
		command: '--http-url',
		fieldType: 'string',
		authFieldType: 'password',
		required: true,
		value: 'url',
		default: '',
		description:
			'URL of HTTP host to connect to. E.g. "https://example.com", or "https://user:[email protected]" to use a username and password.',
	},
	{
		label: "Don't escape URL",
		command: '--http-no-escape',
		fieldType: 'bool',
		required: false,
		value: 'no_escape',
		default: false,
		description: 'Do not escape URL metacharacters in path names.',
	},
	{
		label: 'HTTP Headers',
		command: '--http-headers',
		fieldType: 'commaseplist',
		required: false,
		value: 'headers',
		default: '',
		description:
			'Set HTTP headers for all transactions. Use this to set additional HTTP headers for all transactions.',
	},
	{
		label: 'No Ending Slash',
		command: '--http-no-slash',
		fieldType: 'bool',
		required: false,
		value: 'no_slash',
		default: false,
		description:
			"Enable this if the site doesn't end directory paths with /.",
	},
	{
		label: "Don't use HEAD requests",
		command: '--http-no-head',
		fieldType: 'bool',
		required: false,
		value: 'no_head',
		default: false,
		description:
			'Disable HEAD requests for directory listings. Enable this if your site is very slow to load.',
	},
	{
		label: 'Description',
		command: '--http-description',
		fieldType: 'string',
		required: false,
		value: 'description',
		default: '',
		description: 'Description of the Storage.',
	},
];

export default httpSettings;