# 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). ---