You've already forked nginx-snippets
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# Nginx Snippets for Ubuntu 24.04 Server
|
|
[](#)
|
|
[](#)
|
|
[](#)
|
|
[](#)
|
|
[](./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).
|
|
|
|
---
|