100% Free & Open

Ubuntu 20.04 Lts (Focal Fossa) Configuration Files

Original, unaltered Ubuntu 20.04 LTS (Focal Fossa) config files from fresh installations

74 Ubuntu 20.04 Lts (Focal Fossa) Configuration Files

Original, unaltered configurations from fresh installations

/etc/logrotate.d/nginx
NGINX Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/logrotate.d/nginx

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

/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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/systemd/nginx.service

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# Stop dance for nginx
# =======================
#
# ExecStop sends SIGSTOP (graceful stop) to the nginx process.
# If, after 5s (--retry QUIT/5) nginx is still running, systemd takes control
# and s…
30 lines β€’ MD5: 7142d860... Click to view full file
/etc/nginx/win-utf
NGINX Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/win-utf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# 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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/uwsgi_params

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/scgi_params

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/proxy_params

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/nginx.conf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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

events {
	worker_connections 768;
	# multi_accept on;
}

http {

	##
	# Basic Settings
	##

	send…
86 lines β€’ MD5: d419ab87... Click to view full file
/etc/nginx/mime.types
NGINX Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/mime.types

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

types {
    text/html                             html htm shtml;
    text/css                              css;
    text/xml                              xml;
    image/gif                         …
90 lines β€’ MD5: bd837e7b... Click to view full file
/etc/nginx/koi-win
NGINX Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/koi-win

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/koi-utf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# 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 Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/fastcgi_params

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length…
26 lines β€’ MD5: 4729c301... Click to view full file
/etc/nginx/fastcgi.conf
NGINX Ubuntu 20.04 LTS (Focal Fossa)

NGINX - /etc/nginx/fastcgi.conf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

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 …
27 lines β€’ MD5: 178a634a... Click to view full file
/etc/nginx/snippets/snakeoil.conf
NGINX Ubuntu 20.04 LTS (Focal Fossa)

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

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# 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 Ubuntu 20.04 LTS (Focal Fossa)

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

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# 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 Ubuntu 20.04 LTS (Focal Fossa)

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

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

##
# 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: cea6bbf3... Click to view full file
/etc/mysql/mysql.cnf
MySQL Ubuntu 20.04 LTS (Focal Fossa)

MySQL - /etc/mysql/mysql.cnf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# Copyright (c) 2015, 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 General Public License, version 2.0,…
35 lines β€’ MD5: e43e8042... Click to view full file
/etc/mysql/my.cnf.fallback
MySQL Ubuntu 20.04 LTS (Focal Fossa)

MySQL - /etc/mysql/my.cnf.fallback

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# Copyright (c) 2015, 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 General Public License, version 2.0,…
34 lines β€’ MD5: c6e5f877... Click to view full file
/etc/mysql/mysql.conf.d/mysqld.cnf
MySQL Ubuntu 20.04 LTS (Focal Fossa)

MySQL - /etc/mysql/mysql.conf.d/mysqld.cnf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# 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 General Public License, version 2.0,…
35 lines β€’ MD5: 413ad72c... Click to view full file
/etc/mysql/conf.d/mysql.cnf
MySQL Ubuntu 20.04 LTS (Focal Fossa)

MySQL - /etc/mysql/conf.d/mysql.cnf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# Copyright (c) 2015, 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 General Public License, version 2.0,…
31 lines β€’ MD5: a5791297... Click to view full file
/etc/mysql/debian.cnf
MariaDB Ubuntu 20.04 LTS (Focal Fossa)

MariaDB - /etc/mysql/debian.cnf

πŸ“ Ubuntu 20.04 LTS (Focal Fossa)

# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host     = localhost
user     = root
password = 
socket   = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host     = localhost
user …
12 lines β€’ MD5: c0aec05e... Click to view full file