-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert adding http3 support, add set-misc for nonce
- Loading branch information
Showing
11 changed files
with
20 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
FROM macbre/nginx-http3 | ||
FROM alpine:edge | ||
|
||
LABEL org.opencontainers.image.authors="Dmitry Verkhoturov <[email protected]>" \ | ||
org.opencontainers.image.description="nginx with brotli installed and running as non-root user, with reload for cert renewal once in six hours" \ | ||
org.opencontainers.image.documentation="https://github.com/paskal/bitrix.infra" \ | ||
org.opencontainers.image.source="https://github.com/paskal/bitrix.infra.git" \ | ||
org.opencontainers.image.title="nginx" | ||
|
||
USER root | ||
|
||
# for shadow package | ||
RUN echo http://dl-2.alpinelinux.org/alpine/edge/community/ >> /etc/apk/repositories | ||
|
||
# shadow for usermod | ||
RUN apk add --no-cache shadow | ||
# brotli for compression | ||
# set-misc for nonce random string generation | ||
RUN apk add --no-cache nginx-mod-http-brotli nginx-mod-http-set-misc shadow | ||
|
||
RUN usermod -u 1000 nginx | ||
RUN groupmod -g 1000 nginx | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
server { | ||
listen 443 ssl; | ||
listen 443 quic; | ||
listen 443 http2 ssl; | ||
|
||
server_name dev-test.favor-group.ru; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
server { | ||
listen 443 ssl; | ||
listen 443 http2 ssl; | ||
|
||
server_name dev.favor-group.ru; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters