Code snippets for use with Nginx.
Go to file
allan be8be3cad0 Found a solution 2024-02-27 08:41:00 +01:00
errorpages Initial commit 2024-02-21 10:31:12 +01:00
README.md Initial commit 2024-02-21 10:31:12 +01:00
block-bots.conf Initial commit 2024-02-21 10:31:12 +01:00
block-engines.conf Initial commit 2024-02-21 10:31:12 +01:00
block-file-access.conf Initial commit 2024-02-21 10:31:12 +01:00
block-htaccess.conf Initial commit 2024-02-21 10:31:12 +01:00
block-referer.conf Initial commit 2024-02-21 10:31:12 +01:00
cache-js-css.conf Initial commit 2024-02-21 10:31:12 +01:00
cache-open-files.conf Initial commit 2024-02-21 10:31:12 +01:00
cache-statics.conf Initial commit 2024-02-21 10:31:12 +01:00
cloudflare.conf Initial commit 2024-02-21 10:31:12 +01:00
custom-errors.conf Initial commit 2024-02-21 10:31:12 +01:00
gzipconfig.conf Initial commit 2024-02-21 10:31:12 +01:00
log-exclude.conf Found a solution 2024-02-27 08:41:00 +01:00
log.conf Initial commit 2024-02-21 10:31:12 +01:00
microcache.conf Initial commit 2024-02-21 10:31:12 +01:00
nginx.conf Initial commit 2024-02-21 10:31:12 +01:00
proxyheader.conf Initial commit 2024-02-21 10:31:12 +01:00
rate-limit.conf Initial commit 2024-02-21 10:31:12 +01:00
wphardening.conf Initial commit 2024-02-21 10:31:12 +01:00

README.md

Code snippets for use with nginx.

Prerequisites

An Ubuntu 22.04 server with Nginx and Php-Fpm 8.1
Nginx with Php-Fpm 8.1 can be installed from [Here]

Where to place them

Most of the configuration files for Nginx on this site is based around these snippets. I strongly sugest you download them and place them here: /etc/nginx/

Download

git clone https://git.x-files.dk/ubuntu-server-files/nginxsnippets.git /etc/nginx/nginxsnippets

More guides can be found on [wiki.xfiles.dk]

Last tested

January 12th 2024 on Ubuntu 22.04.