Most Requested Default Configs
The configs everyone needs. Ready to copy.
Apache HTTP Server Configurations
Most requested defaults for Apache HTTP Server
Apache HTTP Server
Red Hat Enterprise Linux 9
This directory holds configuration files for the Apache HTTP Server; any files in this directory which have …
This directory holds configuration files for the Apache HTTP Server; any files in this directory which have the ".conf" extension will be processed as httpd configurati…
Apache HTTP Server
CentOS Stream 9
This directory holds configuration files for the Apache HTTP Server; any files in this directory which have …
This directory holds configuration files for the Apache HTTP Server; any files in this directory which have the ".conf" extension will be processed as httpd configurati…
Apache HTTP Server
Red Hat Enterprise Linux 9
# # Directives controlling the display of server-generated directory listings. # # Required modules: mod_auth…
# # Directives controlling the display of server-generated directory listings. # # Required modules: mod_authz_core, mod_authz_host, # mod_autoindex, m…
APT Configurations
Most requested defaults for APT
APT
Debian 9
APT { NeverAutoRemove { "^firmware-linux.*"; "^linux-firmware$"; }; VersionedKernelPackages { #…
APT
{
NeverAutoRemove
{
"^firmware-linux.*";
"^linux-firmware$";
};
VersionedKernelPackages
{
# linux kernels
"linux-image";
"linux-headers";
"linux-ima…
APT
Debian 9
// Pre-configure all packages with debconf before they are installed. // If you don't like it, comment it out…
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt…
APT
Debian 9
# Since Docker users are looking for the smallest possible final images, the # following emerges as a very co…
# Since Docker users are looking for the smallest possible final images, the # following emerges as a very common pattern: # RUN apt-get update \ # && apt-get i…
MariaDB Configurations
Most requested defaults for MariaDB
MariaDB
CentOS Stream 9
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configurati…
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html [mysqld] # # Remove leading # and set to t…
MariaDB
Debian 9
# Copyright (c) 2015, 2021, Oracle and/or its affiliates. # # This program is free software; you can redistri…
# Copyright (c) 2015, 2021, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Genera…
MariaDB
Debian 9
#!/bin/bash # # This script is executed by "/etc/init.d/mysql" on every (re)start. # # Changes to this file w…
#!/bin/bash # # This script is executed by "/etc/init.d/mysql" on every (re)start. # # Changes to this file will be preserved when updating the Debian package. # # NOTE:…
MySQL Configurations
Most requested defaults for MySQL
MySQL
Red Hat Enterprise Linux 9
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.4/en/server-configurati…
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.4/en/server-configuration-defaults.html [mysqld] # # Remove leading # and set to t…
MySQL
CentOS Stream 9
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configurati…
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html [mysqld] # # Remove leading # and set to t…
MySQL
Debian 9
# Copyright (c) 2015, 2021, Oracle and/or its affiliates. # # This program is free software; you can redistri…
# Copyright (c) 2015, 2021, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Genera…
NGINX Configurations
Most requested defaults for NGINX
NGINX
Debian 9
/var/log/nginx/*.log { daily missingok rotate 14 compress delaycompress notifempty create 0640 www-dat…
/var/log/nginx/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 www-data adm
sharedscripts
prerotate
if [ -d /etc/logrotate.d/h…
NGINX
Red Hat Enterprise Linux 9
/var/log/nginx/*.log { create 0640 nginx root daily rotate 10 missingok notifempty co…
/var/log/nginx/*.log {
create 0640 nginx root
daily
rotate 10
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
…
NGINX
CentOS Stream 9
/var/log/nginx/*.log { create 0640 nginx root daily rotate 10 missingok notifempty co…
/var/log/nginx/*.log {
create 0640 nginx root
daily
rotate 10
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
…
Odoo Configurations
Most requested defaults for Odoo
Odoo
Debian 9
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep …
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep = , ; db_maxconn = 64 ; db_name = False ; db_template = temp…
Odoo
Red Hat Enterprise Linux 9
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep …
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep = , ; db_maxconn = 64 ; db_name = False ; db_template = temp…
Odoo
CentOS Stream 9
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep …
[options] addons_path = /mnt/extra-addons data_dir = /var/lib/odoo ; admin_passwd = admin ; csv_internal_sep = , ; db_maxconn = 64 ; db_name = False ; db_template = temp…
OpenSSH Configurations
Most requested defaults for OpenSSH
OpenSSH
Debian 9
# Time Type Tests Tries Size Generator Modulus 20160301052556 2 6 100 2047 5 DA57B18976E9C55CEAC3BFFF70419A15…
# Time Type Tests Tries Size Generator Modulus 20160301052556 2 6 100 2047 5 DA57B18976E9C55CEAC3BFFF70419A1550258EA7359400BD4FAC8F4203B73E0BC54D62C0A2D9AA9B543FACA02905…
OpenSSH
Red Hat Enterprise Linux 9
# $OpenBSD: moduli,v 1.30 2021/05/17 07:22:45 dtucker Exp $ # Time Type Tests Tries Size Generator Modulus…
# $OpenBSD: moduli,v 1.30 2021/05/17 07:22:45 dtucker Exp $ # Time Type Tests Tries Size Generator Modulus 20210510040256 2 6 100 2047 5 C7CE688A891B095F8844E2381248D…
OpenSSH
CentOS Stream 9
# $OpenBSD: moduli,v 1.30 2021/05/17 07:22:45 dtucker Exp $ # Time Type Tests Tries Size Generator Modulus…
# $OpenBSD: moduli,v 1.30 2021/05/17 07:22:45 dtucker Exp $ # Time Type Tests Tries Size Generator Modulus 20210510040256 2 6 100 2047 5 C7CE688A891B095F8844E2381248D…
OpenSSL Configurations
Most requested defaults for OpenSSL
OpenSSL
Debian 9
# # OpenSSL example configuration file. # This is mostly being used for generation of certificate requests. #…
# # OpenSSL example configuration file. # This is mostly being used for generation of certificate requests. # # This definition stops the following lines choking if HOM…
OpenSSL
Alpine Linux 3.21
-----BEGIN CERTIFICATE----- MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UE AwwJQUNDVlJBSVox…
-----BEGIN CERTIFICATE----- MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UE AwwJQUNDVlJBSVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQsw CQYDVQQGEwJ…
OpenSSL
Alpine Linux 3.21
# This file specifies the Certificate Transparency logs # that are to be trusted. # Google's list of logs ca…
# This file specifies the Certificate Transparency logs # that are to be trusted. # Google's list of logs can be found here: # www.certificate-transparency.org/kn…
Postfix Configurations
Most requested defaults for Postfix
Postfix
Red Hat Enterprise Linux 9
# ACCESS(5) ACCESS(5) # # NAME # access - …
# ACCESS(5) ACCESS(5) # # NAME # access - Postfix SMTP server access table # # SYNOPSIS # post…
Postfix
CentOS Stream 9
# ACCESS(5) ACCESS(5) # # NAME # access - …
# ACCESS(5) ACCESS(5) # # NAME # access - Postfix SMTP server access table # # SYNOPSIS # post…
Postfix
Red Hat Enterprise Linux 9
# CANONICAL(5) CANONICAL(5) # # NAME # canonical…
# CANONICAL(5) CANONICAL(5) # # NAME # canonical - Postfix canonical table format # # SYNOPSIS # pos…
PostgreSQL Configurations
Most requested defaults for PostgreSQL
PostgreSQL
Debian 9
/var/log/postgresql/*.log { weekly rotate 10 copytruncate delaycompress co…
/var/log/postgresql/*.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
su root roo…
PostgreSQL
Debian 9
# environment variables for postgres processes # This file has the same syntax as postgresql.conf: # VARIABL…
# environment variables for postgres processes # This file has the same syntax as postgresql.conf: # VARIABLE = simple_value # VARIABLE2 = 'any value!' # I. e. you nee…
PostgreSQL
Debian 9
# Automatic pg_ctl configuration # This configuration file contains cluster specific options to be passed to …
# Automatic pg_ctl configuration # This configuration file contains cluster specific options to be passed to # pg_ctl(1). pg_ctl_options = ''
Redis Configurations
Most requested defaults for Redis
Redis
Debian 9
/var/log/redis/redis-server*.log { weekly missingok rotate 12 compress …
/var/log/redis/redis-server*.log {
weekly
missingok
rotate 12
compress
notifempty
}
Redis
Debian 9
[Unit] Description=Advanced key-value store After=network.target Documentation=http://redis.io/documentation,…
[Unit] Description=Advanced key-value store After=network.target Documentation=http://redis.io/documentation, man:redis-server(1) [Service] Type=forking ExecStart=/usr/…
Redis
Alpine Linux 3.21
/var/log/redis/*.log { notifempty missingok }
/var/log/redis/*.log {
notifempty
missingok
}
Need a specific default?
Search across apps and distros to find the exact file you need.
Search all configs