This commit is contained in:
ElevenNotes
2024-08-19 17:25:41 +02:00
parent d2ced2ae70
commit 9ab150aa8e
6 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
![Banner](https://github.com/11notes/defaults/blob/main/static/img/banner.png?raw=true)
# 🏔️ Alpine - Nginx
![size](https://img.shields.io/docker/image-size/11notes/nginx/1.26.0?color=0eb305) ![version](https://img.shields.io/docker/v/11notes/nginx/1.26.0?color=eb7a09) ![pulls](https://img.shields.io/docker/pulls/11notes/nginx?color=2b75d6) ![activity](https://img.shields.io/github/commit-activity/m/11notes/docker-nginx?color=c91cb8) ![commit-last](https://img.shields.io/github/last-commit/11notes/docker-nginx?color=c91cb8) ![stars](https://img.shields.io/docker/stars/11notes/nginx?color=e6a50e)
![size](https://img.shields.io/docker/image-size/11notes/nginx/1.26.1?color=0eb305) ![version](https://img.shields.io/docker/v/11notes/nginx/1.26.1?color=eb7a09) ![pulls](https://img.shields.io/docker/pulls/11notes/nginx?color=2b75d6) ![stars](https://img.shields.io/docker/stars/11notes/nginx?color=e6a50e) [<img src="https://img.shields.io/badge/github-11notes-blue?logo=github">](https://github.com/11notes)
**Nginx base image with additional plugins and custom compiled**
@@ -18,7 +18,7 @@ What can I do with this? This image will serve as a base for nginx related image
version: "3.8"
services:
nginx:
image: "11notes/nginx:stable"
image: "11notes/nginx:1.26.0"
container_name: "nginx"
environment:
TZ: Europe/Zurich
@@ -61,10 +61,10 @@ networks:
* [alpine](https://alpinelinux.org)
# TIPS
* Allow non-root ports < 1024 via `echo "net.ipv4.ip_unprivileged_port_start=53" > /etc/sysctl.d/ports.conf`
* Allow non-root ports < 1024 via `echo "net.ipv4.ip_unprivileged_port_start={n}" > /etc/sysctl.d/ports.conf`
* Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
* Use Lets Encrypt certificates to protect your SSL endpoints
# ElevenNotes<sup>™️</sup>
This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes.
This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes. You can find all my repositories on [github](https://github.com/11notes).