allan be8be3cad0 | ||
---|---|---|
errorpages | ||
README.md | ||
block-bots.conf | ||
block-engines.conf | ||
block-file-access.conf | ||
block-htaccess.conf | ||
block-referer.conf | ||
cache-js-css.conf | ||
cache-open-files.conf | ||
cache-statics.conf | ||
cloudflare.conf | ||
custom-errors.conf | ||
gzipconfig.conf | ||
log-exclude.conf | ||
log.conf | ||
microcache.conf | ||
nginx.conf | ||
proxyheader.conf | ||
rate-limit.conf | ||
wphardening.conf |
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
More guides can be found on [wiki.xfiles.dk]
Last tested
January 12th 2024 on Ubuntu 22.04.