initial commit

This commit is contained in:
2025-11-02 11:49:39 +01:00
commit ec9dcadf58
47 changed files with 1997 additions and 0 deletions

40
README.md Normal file
View File

@@ -0,0 +1,40 @@
# Nginx Snippets for Ubuntu 24.04 Server
[![OS](https://img.shields.io/badge/ubuntu-24.04-E95420)](#)
[![Shell](https://img.shields.io/badge/shell-bash-121011)](#)
[![WebServer](https://img.shields.io/badge/server-nginx-009639)](#)
[![PHP](https://img.shields.io/badge/php-fpm-777BB4)](#)
[![License](https://img.shields.io/badge/License-MIT-green)](./LICENSE)
Reusable and modular configuration snippets for use with Nginx on Ubuntu 24.04 Server.
### Prerequisites
Nginx must be installed and running before using these snippets.
### Download the Snippets
Clone the repository directly into your Nginx configuration directory:
```
git clone https://git.x-files.dk/webserver/nginx-snippets.git /etc/nginx/nginx-snippets
```
### Usage
An example configuration file can be found [here](https://git.x-files.dk/webserver/nginx-snippets/src/branch/main/hostfiles/example.80.conf).
> **NOTE**
> If you already installed Nginx using the method described [here](https://git.x-files.dk/webserver/nginx-ubuntu), these code snippets are already included by default.
### Post-install
Nothing to do.
---
### More Information
More guides and documentation can be found on [wiki.x-files.dk](https://wiki.x-files.dk)
---
### License
Licensed under the [MIT License](./LICENSE).
---