100% Free & Open

Debian 12 (Bookworm) Configuration Files

Original, unaltered Debian 12 (Bookworm) config files from fresh installations

244 Debian 12 (Bookworm) Configuration Files

Original, unaltered configurations from fresh installations

/etc/logrotate.d/nginx
NGINX Debian 12 (Bookworm)

NGINX - /etc/logrotate.d/nginx

πŸ“ Debian 12 (Bookworm)

/var/log/nginx/*.log {
	daily
	missingok
	rotate 14
	compress
	delaycompress
	notifempty
	create 0640 www-data adm
	sharedscripts
	prerotate
		if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
			ru…
19 lines β€’ MD5: b29112f9... Click to view full file
/etc/systemd/nginx.service
NGINX Debian 12 (Bookworm)

NGINX - /etc/systemd/nginx.service

πŸ“ Debian 12 (Bookworm)

# Stop dance for nginx
# =======================
#
# ExecStop sends SIGQUIT (graceful stop) to the nginx process.
# If, after 5s (--retry QUIT/5) nginx is still running, systemd takes control
# and s…
31 lines β€’ MD5: 121cf0a9... Click to view full file
/etc/nginx/win-utf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/win-utf

πŸ“ Debian 12 (Bookworm)

# This map is not a full windows-1251 <> utf8 map: it does not
# contain Serbian and Macedonian letters.	If you need a full map,
# use contrib/unicode2nginx/win-utf map instead.

charset_map	windows-…
126 lines β€’ MD5: 0f39cbfc... Click to view full file
/etc/nginx/uwsgi_params
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/uwsgi_params

πŸ“ Debian 12 (Bookworm)

uwsgi_param  QUERY_STRING       $query_string;
uwsgi_param  REQUEST_METHOD     $request_method;
uwsgi_param  CONTENT_TYPE       $content_type;
uwsgi_param  CONTENT_LENGTH     $content_length;

uwsgi…
18 lines β€’ MD5: 88ac833e... Click to view full file
/etc/nginx/scgi_params
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/scgi_params

πŸ“ Debian 12 (Bookworm)

scgi_param  REQUEST_METHOD     $request_method;
scgi_param  REQUEST_URI        $request_uri;
scgi_param  QUERY_STRING       $query_string;
scgi_param  CONTENT_TYPE       $content_type;

scgi_param  …
18 lines β€’ MD5: df8c71e2... Click to view full file
/etc/nginx/proxy_params
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/proxy_params

πŸ“ Debian 12 (Bookworm)

proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
5 lines β€’ MD5: 2612ba34... Click to view full file
/etc/nginx/nginx.conf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/nginx.conf

πŸ“ Debian 12 (Bookworm)

user www-data;
worker_processes auto;
pid /run/nginx.pid;
error_log /var/log/nginx/error.log;
include /etc/nginx/modules-enabled/*.conf;

events {
	worker_connections 768;
	# multi_accept on;
}

http…
84 lines β€’ MD5: e5398edc... Click to view full file
/etc/nginx/mime.types
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/mime.types

πŸ“ Debian 12 (Bookworm)

types {
    text/html                             html htm shtml;
    text/css                              css;
    text/xml                              xml;
    image/gif                         …
97 lines β€’ MD5: 60d17ef2... Click to view full file
/etc/nginx/koi-win
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/koi-win

πŸ“ Debian 12 (Bookworm)

charset_map  koi8-r  windows-1251 {

    80  88 ; # euro

    95  95 ; # bullet

    9A  A0 ; # &nbsp;

    9E  B7 ; # &middot;

    A3  B8 ; # small yo
    A4  BA ; # small Ukrainian ye

    A6  B3…
104 lines β€’ MD5: bfa0b803... Click to view full file
/etc/nginx/koi-utf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/koi-utf

πŸ“ Debian 12 (Bookworm)

# This map is not a full koi8-r <> utf8 map: it does not contain
# box-drawing and some other characters.  Besides this map contains
# several koi8-u and Byelorussian letters which are not in koi8-r…
110 lines β€’ MD5: 3e338aca... Click to view full file
/etc/nginx/fastcgi_params
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/fastcgi_params

πŸ“ Debian 12 (Bookworm)

fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length…
27 lines β€’ MD5: ed054bf0... Click to view full file
/etc/nginx/fastcgi.conf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/fastcgi.conf

πŸ“ Debian 12 (Bookworm)

fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE …
28 lines β€’ MD5: 74e91892... Click to view full file
/etc/nginx/snippets/snakeoil.conf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/snippets/snakeoil.conf

πŸ“ Debian 12 (Bookworm)

# Self signed certificates generated by the ssl-cert package
# Don't use them in a production server!

ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-c…
6 lines β€’ MD5: 0a8bff8a... Click to view full file
/etc/nginx/snippets/fastcgi-php.conf
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/snippets/fastcgi-php.conf

πŸ“ Debian 12 (Bookworm)

# 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 $fastcgi_script_name =404;

…
14 lines β€’ MD5: 828e5bd1... Click to view full file
/etc/nginx/sites-available/default
NGINX Debian 12 (Bookworm)

NGINX - /etc/nginx/sites-available/default

πŸ“ Debian 12 (Bookworm)

##
# 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://www.nginx.com/resources/wiki…
92 lines β€’ MD5: f1f26aef... Click to view full file
/etc/logrotate.d/apache2
Apache HTTP Server Debian 12 (Bookworm)

Apache HTTP Server - /etc/logrotate.d/apache2

πŸ“ Debian 12 (Bookworm)

/var/log/apache2/*.log {
	daily
	missingok
	rotate 14
	compress
	delaycompress
	notifempty
	create 640 root adm
	sharedscripts
	prerotate
		if [ -d /etc/logrotate.d/httpd-prerotate ]; then
			run-par…
21 lines β€’ MD5: a38d9e98... Click to view full file
/etc/systemd/apache2@.service
Apache HTTP Server Debian 12 (Bookworm)

Apache HTTP Server - /etc/systemd/apache2@.service

πŸ“ Debian 12 (Bookworm)

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
ConditionPathIsDirectory=/etc/apache2-%i
Documentation=https://httpd.apache.org/docs/2.4/

[Service]
…
19 lines β€’ MD5: 2cc4631b... Click to view full file
/etc/systemd/apache2.service
Apache HTTP Server Debian 12 (Bookworm)

Apache HTTP Server - /etc/systemd/apache2.service

πŸ“ Debian 12 (Bookworm)

[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
Documentation=https://httpd.apache.org/docs/2.4/

[Service]
Type=forking
Environment=APACHE_STARTED_B…
19 lines β€’ MD5: fad8b9c1... Click to view full file
/etc/apache2/ports.conf
Apache HTTP Server Debian 12 (Bookworm)

Apache HTTP Server - /etc/apache2/ports.conf

πŸ“ Debian 12 (Bookworm)

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module…
14 lines β€’ MD5: e0eadfd8... Click to view full file
/etc/apache2/magic
Apache HTTP Server Debian 12 (Bookworm)

Apache HTTP Server - /etc/apache2/magic

πŸ“ Debian 12 (Bookworm)

# Magic data for mod_mime_magic (originally for file(1) command)
#
# The format is 4-5 columns:
#    Column #1: byte number to begin checking from, ">" indicates continuation
#    Column #2: type of …
936 lines β€’ MD5: a6d37083... Click to view full file