New option to use and configure Prosody mod_firewall WIP (#97):
* new setting * new configuration screen for Peertube admins * include the mod_firewall module * load mod_firewall if enabled * sys admin can disable the firewall config editing by creating a special file on the disk * user documentation
This commit is contained in:
@ -192,6 +192,17 @@ interface LivechatToken {
|
||||
date: number
|
||||
}
|
||||
|
||||
interface AdminFirewallConfigurationFile {
|
||||
name: string
|
||||
content: string
|
||||
enabled: boolean
|
||||
}
|
||||
|
||||
interface AdminFirewallConfiguration {
|
||||
enabled: boolean
|
||||
files: AdminFirewallConfigurationFile[]
|
||||
}
|
||||
|
||||
export type {
|
||||
ConverseJSTheme,
|
||||
InitConverseJSParams,
|
||||
@ -212,5 +223,7 @@ export type {
|
||||
ChannelEmojis,
|
||||
ChannelEmojisConfiguration,
|
||||
ProsodyAuthentInfos,
|
||||
LivechatToken
|
||||
LivechatToken,
|
||||
AdminFirewallConfiguration,
|
||||
AdminFirewallConfigurationFile
|
||||
}
|
||||
|
Reference in New Issue
Block a user