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 is the main Apache HTTP server configuration file. It contains the # configuration directives that …
# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.ap…
Apache HTTP Server
Ubuntu 24.04
# This is the main Apache server configuration file. It contains the # configuration directives that give th…
# This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/doc…
Apache HTTP Server
Red Hat Enterprise Linux 9
# # This configuration file enables the default "Welcome" page if there # is no default index page present f…
# # This configuration file enables the default "Welcome" page if there # is no default index page present for the root URL. To disable the # Welcome page, comment out…
APT Configurations
Most requested defaults for APT
APT
Debian 9
# In Docker, we don't often need the "Translations" files, so we're just wasting # time and space by download…
# In Docker, we don't often need the "Translations" files, so we're just wasting # time and space by downloading them, and this inhibits that. For users that do # need …
APT
Debian 13
-----BEGIN PGP PUBLIC KEY BLOCK----- mQINBGPL0F0BEAC8s6aFGXEkW0xvN5FSZKaM+rp9FX4EhWNfkKi7PaHEpZcjzC6J gIwSwJ…
-----BEGIN PGP PUBLIC KEY BLOCK----- mQINBGPL0F0BEAC8s6aFGXEkW0xvN5FSZKaM+rp9FX4EhWNfkKi7PaHEpZcjzC6J gIwSwJP7o9L/LLtLYr68Df9sv+AktdzhY50T4zBQouEl6ps/ZaaiVoTsH8wLOp7g /…
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…
MariaDB Configurations
Most requested defaults for MariaDB
MariaDB
Debian 9
# # These groups are read by MariaDB server. # Use it for options that only the server (but not clients) shou…
# # These groups are read by MariaDB server. # Use it for options that only the server (but not clients) should see # # See the examples of server my.cnf files in /usr/s…
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
# # These groups are read by MariaDB command-line tools # Use it for options that affect only one utility # …
# # These groups are read by MariaDB command-line tools # Use it for options that affect only one utility # [mysql] # Default is Latin1, if you need UTF-8 set this (als…
MySQL Configurations
Most requested defaults for MySQL
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…
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
Ubuntu 24.04
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. # # This program is free software; you can redistri…
# Copyright (c) 2014, 2025, 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
Ubuntu 20.04
## # You should look at the following URL's in order to grasp a solid understanding # of Nginx configuration …
## # You should look at the following URL's in order to grasp a solid understanding # of Nginx configuration files in order to fully unleash the power of Nginx. # https:…
NGINX
Red Hat Enterprise Linux 9
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_…
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev…
NGINX
Debian 9
# regex to split $uri to $fastcgi_script_name and $fastcgi_path fastcgi_split_path_info ^(.+\.php)(/.+)$; # …
# regex to split $uri to $fastcgi_script_name and $fastcgi_path fastcgi_split_path_info ^(.+\.php)(/.+)$; # Check that the PHP script exists before passing it try_files…
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
# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ # This is the sshd server system-wide config…
# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. #…
OpenSSH
Red Hat Enterprise Linux 9
# This system is following system-wide crypto policy. The changes to # crypto properties (Ciphers, MACs, ...)…
# This system is following system-wide crypto policy. The changes to # crypto properties (Ciphers, MACs, ...) will not have any effect in # this or following included fi…
OpenSSH
Debian 9
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This fi…
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be chan…
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 8
# Global Postfix configuration file. This file lists only a subset # of all parameters. For the syntax, and f…
# Global Postfix configuration file. This file lists only a subset # of all parameters. For the syntax, and for a complete parameter # list, see the postconf(5) manual p…
Postfix
Debian 9
# # Postfix master process configuration file. For details on the format # of the file, see the master(5) ma…
# # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master" or # on-line: http://www.…
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
# 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 10
# ----------------------------- # PostgreSQL configuration file # ----------------------------- # # This file…
# ----------------------------- # PostgreSQL configuration file # ----------------------------- # # This file consists of lines of the form: # # name = value # # (The …
PostgreSQL
Ubuntu 24.04
# ----------------------------- # PostgreSQL configuration file # ----------------------------- # # This file…
# ----------------------------- # PostgreSQL configuration file # ----------------------------- # # This file consists of lines of the form: # # name = value # # (The …
Redis Configurations
Most requested defaults for Redis
Redis
Ubuntu 24.04
# Templated service file for redis-server(1) # # Each instance of redis-server requires its own configuration…
# Templated service file for redis-server(1) # # Each instance of redis-server requires its own configuration file: # # $ cp /etc/redis/redis.conf /etc/redis/redis-myn…
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