1.26.1
This commit is contained in:
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.gitignore
|
||||||
|
*.md
|
||||||
|
LICENSE
|
||||||
@@ -1,7 +1,7 @@
|
|||||||

|

|
||||||
|
|
||||||
# 🏔️ Alpine - Nginx
|
# 🏔️ Alpine - Nginx
|
||||||
     
|
    [<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**
|
**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"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: "11notes/nginx:stable"
|
image: "11notes/nginx:1.26.0"
|
||||||
container_name: "nginx"
|
container_name: "nginx"
|
||||||
environment:
|
environment:
|
||||||
TZ: Europe/Zurich
|
TZ: Europe/Zurich
|
||||||
@@ -61,10 +61,10 @@ networks:
|
|||||||
* [alpine](https://alpinelinux.org)
|
* [alpine](https://alpinelinux.org)
|
||||||
|
|
||||||
# TIPS
|
# 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 a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
|
||||||
* Use Let’s Encrypt certificates to protect your SSL endpoints
|
* Use Let’s Encrypt certificates to protect your SSL endpoints
|
||||||
|
|
||||||
# ElevenNotes<sup>™️</sup>
|
# 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).
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
# :: Build
|
# :: Build
|
||||||
FROM alpine:latest as build
|
FROM alpine:latest as build
|
||||||
ENV BUILD_VERSION=1.26.0
|
ENV BUILD_VERSION=1.26.1
|
||||||
ENV MODULE_HEADERS_MORE_NGINX_VERSION=0.34
|
ENV MODULE_HEADERS_MORE_NGINX_VERSION=0.34
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
# :: Build
|
# :: Build
|
||||||
FROM arm64v8/alpine as build
|
FROM arm64v8/alpine as build
|
||||||
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin
|
COPY --from=qemu /usr/bin/qemu-aarch64-static /usr/bin
|
||||||
ENV BUILD_VERSION=1.26.0
|
ENV BUILD_VERSION=1.26.1
|
||||||
ENV MODULE_HEADERS_MORE_NGINX_VERSION=0.34
|
ENV MODULE_HEADERS_MORE_NGINX_VERSION=0.34
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: "11notes/nginx:1.26.0"
|
image: "11notes/nginx:1.26.0"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
server {
|
server {
|
||||||
listen 8443 default_server ssl http2;
|
listen 8443 default_server ssl;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
ssl_certificate /nginx/ssl/default.crt;
|
ssl_certificate /nginx/ssl/default.crt;
|
||||||
|
|||||||
Reference in New Issue
Block a user