From 76669f6c298bcf3f69a0e1df5c524a7cff3e367d Mon Sep 17 00:00:00 2001 From: Pasha Date: Sat, 20 Jan 2024 10:09:23 +0000 Subject: initial commit --- web/NetUseAdminWeb/environments/development.yml | 36 +++++++++++++++++++++++++ web/NetUseAdminWeb/environments/production.yml | 29 ++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 web/NetUseAdminWeb/environments/development.yml create mode 100644 web/NetUseAdminWeb/environments/production.yml (limited to 'web/NetUseAdminWeb/environments') diff --git a/web/NetUseAdminWeb/environments/development.yml b/web/NetUseAdminWeb/environments/development.yml new file mode 100644 index 0000000..e4e01a9 --- /dev/null +++ b/web/NetUseAdminWeb/environments/development.yml @@ -0,0 +1,36 @@ +# NetUseMod is a program to moderate Usenet posts via web interface. +# Copyright (C) 2024 Salahuddin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# configuration file for development environment + +# the logger engine to use +# console: log messages to STDOUT (your console where you started the +# application server) +# file: log message to a file in log/ +logger: "console" + +# the log level for this environment +# core is the lowest, it shows Dancer2's core log messages as well as yours +# (debug, info, warning and error) +log: "core" + +# should Dancer2 show a stacktrace when an 5xx error is caught? +# if set to yes, public/500.html will be ignored and either +# views/500.tt, 'error_template' template, or a default error template will be used. +show_stacktrace: 1 + +# print the banner +startup_info: 1 diff --git a/web/NetUseAdminWeb/environments/production.yml b/web/NetUseAdminWeb/environments/production.yml new file mode 100644 index 0000000..4fe4eb0 --- /dev/null +++ b/web/NetUseAdminWeb/environments/production.yml @@ -0,0 +1,29 @@ +# NetUseMod is a program to moderate Usenet posts via web interface. +# Copyright (C) 2024 Salahuddin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# configuration file for production environment + +# only log warning and error messsages +log: "warning" + +# log message to a file in logs/ +logger: "file" + +# hide errors +show_stacktrace: 0 + +# disable server tokens in production environments +no_server_tokens: 1 -- cgit v1.2.1