Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

II.1.d. server

Andrey Bogdanov edited this page Feb 25, 2016 · 6 revisions

Contents

Options

server.chat.ttl

Time-to-live for the private chats (in minutes). If no new message is added within the TTL, the chat is deleted from the database.

Default: 10080 (7 days).

server.ddosProtection.checkInterval
server.ddosProtection.enabled
server.ddosProtection.errorCode
server.ddosProtection.errorData
server.ddosProtection.maxWeight
server.ddosProtection.rules
server.ddosProtection.static
server.ddosProtection.weight
server.port

The port on which the server will listen for connections. Normally 80, but the value may differ if the traffic goes through some HTTP server, such as nginx.

Default: 8080.

server.rss.enabled

Determines if the RSS feed is generated for each board.

By default RSS feed generation is enabled.

server.rss.postCount

Number of posts to include in the RSS feed.

Default: 500.

server.rss.ttl

RSS feed time-to-live (in minutes). Every server.rss.ttl minutes the RSS feed is regenerated.

Default: 60 (1 hour).

server.youtubeApiKey

YouTube API key used to retrieve YouTube videos information in the posts and to markup the corresponding links properly (adding a tooltip with video title and thumbnail, and creating an expandable embedded YouTube player). YouTube API documentation.

Clone this wiki locally