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:
@ -8,6 +8,7 @@ import { registerConfiguration } from './common/configuration/register'
|
||||
import { registerVideoWatch } from './common/videowatch/register'
|
||||
import { registerRoom } from './common/room/register'
|
||||
import { initPtContext } from './common/lib/contexts/peertube'
|
||||
import { registerAdminFirewall } from './common/admin/firewall/register'
|
||||
import './common/lib/elements' // Import shared elements.
|
||||
|
||||
async function register (clientOptions: RegisterClientOptions): Promise<void> {
|
||||
@ -69,7 +70,8 @@ async function register (clientOptions: RegisterClientOptions): Promise<void> {
|
||||
await Promise.all([
|
||||
registerVideoWatch(),
|
||||
registerRoom(clientOptions),
|
||||
registerConfiguration(clientOptions)
|
||||
registerConfiguration(clientOptions),
|
||||
registerAdminFirewall(clientOptions)
|
||||
])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user