886dd04b62
Enable multi-architecture docker image builds
...
Previously, the Dockerfile downloaded 'docker-gen' and 'forego' binaries
during build time. This caused a problem as it hard-coded the amd64
architecture for the images.
This commit updates both 'Dockerfile' and 'Dockerfile.alpine' to build
the `forego` and `docker-gen` executables from scratch instead of
downloading binaries directly.
This is achieved using multi-stage builds [1]. Two seperate stages first
build the binaries, and are then copied over to the final stage.
The advantage of this change is two-fold: First, it enables building
this image on architectures other than amd64. Secondly it adds trust by
not adding external binaries to the docker image.
This modified version passes the test both a linux desktop (amd64) as
well as a raspberry pi (armv7) with some caveats:
- On armv7, a modified version of the `jwilder/docker-gen` image is
required. See a seperate PR at [2].
- The 'test_dhparam_is_generated_if_missing' test fails. This also
doesn't currently pass on master.
[1] https://docs.docker.com/develop/develop-images/multistage-build/ [2]
https://github.com/jwilder/docker-gen/pull/327
2021-03-21 12:31:06 +01:00
bf2d7295d3
Merge pull request #1409 from nginx-proxy/no-https-redirect-acme
...
Bring ACME no redirection inline with companion
2021-03-17 20:31:37 +01:00
c8a6785898
Update version to 0.8.0
2020-10-30 10:19:56 -06:00
20cc3527b4
Merge pull request #1508 from lemker/master
...
Upgrade Nginx to 1.19.3
2020-10-08 20:17:32 -06:00
ea28f2f32f
Upgrade Nginx to 1.19.3
2020-10-08 19:05:47 -07:00
b0c6c9f67e
Merge pull request #1386 from juliushaertl/enh/hsts-https-method-fallback
...
Add fallback to the proxy containers env for HTTPS_METHOD and HSTS
2020-06-29 11:38:05 -06:00
5b469894d4
Merge pull request #1432 from KetchupBomb/update_readme
...
Fix docker-gen Docker Hub URL
2020-06-29 11:36:18 -06:00
d3ff74e48a
Merge pull request #1452 from benchonaut/patch-1
...
update key length , speed up dhparam generation
2020-06-29 11:34:13 -06:00
be107963a7
update key length , speed up dhparam generation
2020-06-15 04:22:58 +02:00
e8b68e5f41
Fix docker-gen Docker Hub URL
2020-05-08 19:09:42 -07:00
3cbc5417b7
Merge pull request #1113 from basro/master
...
Set DISABLE_ACCESS_LOGS env var to disable access logs
2020-03-25 14:27:02 -06:00
8219788df6
Merge branch 'master' into master
2020-03-25 14:26:30 -06:00
944163d70d
Bring ACME no redirection inline with companion
...
Add the following to the Let's Encrypt ACME challenge "no redirection to HTTPS"
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion/pull/570
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion/pull/335
2020-03-20 22:28:15 +01:00
941fd630a6
Merge pull request #1069 from ivoputzer/patch-1
...
Fixes typo
2020-03-03 00:29:54 -05:00
b4709639b3
Merge pull request #1353 from nanawel/feature/custom-external-ports-support
...
Add support for custom external HTTP/HTTPS ports
2020-03-03 00:24:21 -05:00
b8141832a3
Merge pull request #1336 from cherouvim/patch-1
...
typo
2020-02-29 23:11:12 -05:00
0223bae0af
Merge pull request #1402 from sgabe/upgrade-nginx
...
Upgrade to 1.17.8
2020-02-29 23:09:59 -05:00
6798a6b800
Upgrade to 1.17.8
2020-02-28 16:36:36 +01:00
4a2dc46002
Merge pull request #1198 from umevoshi/master
...
Add gRPC protocol support (#1345 )
2020-02-11 11:45:53 -07:00
718d45feaf
Merge pull request #1338 from mauvm/patch-1
...
Do not HTTPS redirect Let'sEncrypt ACME challenge
2020-02-09 13:31:42 -07:00
0dfe09fb7c
Merge pull request #1366 from jakejarvis/nginx-1.17.6
...
Upgrade nginx to 1.17.6
2020-02-09 13:30:06 -07:00
f8b4553eee
Add fallback to the proxy containers env for HTTPS_METHOD and HSTS
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-01-30 08:24:38 +01:00
77227f8691
Upgrade nginx to 1.17.6
2019-12-04 10:19:17 -05:00
e762468759
Merge pull request #1356 from matt-hh/upgrade-nginx-1.17.5
...
Upgrade to 1.17.5
2019-11-08 07:00:06 -07:00
cf911d950a
Upgrade to 1.17.5
...
closes #1337 , resolves #1355
2019-11-08 14:11:17 +01:00
a3e64a9433
Add support for custom external HTTP/HTTPS ports (see https://groups.google.com/forum/#!topic/nginx-proxy/0I2jevmgTLI )
2019-11-03 14:48:16 +01:00
11d644d645
Do not HTTPS redirect Let'sEncrypt ACME challenge
...
The auto renewal of Let'sEncrypt certificates fails due to the HTTPS redirect of the ACME challenge.
This workaround resolves the issue:
https://gist.github.com/codekitchen/2c519eb7572002afab6a5f979cd42913#file-letsencrypt-diff
Found through this comment:
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/issues/526#issuecomment-476253642
2019-10-01 16:00:41 +02:00
4443ee8b5a
Merge pull request #1116 from qiqizjl/master
...
fix fastcgi bug
2019-09-26 13:21:12 -06:00
08b953ba70
Merge pull request #1252 from jpomykala/patch-1
...
Update README.md
2019-09-25 19:44:56 -06:00
94f5763c04
Merge pull request #1323 from came88/banner
...
README.md: fix version in nginx banner
2019-09-25 19:39:17 -06:00
8cf9ed7145
Merge pull request #1328 from dnmvisser/patch-1
...
Typo
2019-09-25 19:37:42 -06:00
3ce7d99aea
typo
2019-09-25 13:21:33 +03:00
3a9de2d511
Merge pull request #1322 from came88/ssl-configuration
...
Update ssl configuration
2019-09-09 09:04:20 -06:00
eba7d8af77
Fix comment about Mozilla Modern Policy and TLS1.3
...
Thanks to @deAtog for pointing it out
2019-09-09 12:45:20 +02:00
d8c04f666f
Typo
2019-09-09 07:22:58 +02:00
ede9f9ec25
README.md: fix version in nginx banner
2019-08-29 22:59:43 +02:00
26e764950f
Update ssl configuration
2019-08-29 22:14:14 +02:00
b886c0bd14
Merge pull request #1318 from came88/nginx
...
Upgrade nginx to 1.17.3
2019-08-18 09:13:33 -06:00
a4cc268628
Use nginx 1.17.3
2019-08-18 11:20:05 +02:00
eb3613695c
Merge pull request #1313 from JIAZHEN/master
...
Upgrade nginx to 1.17
2019-08-08 08:26:11 -06:00
23823c4b21
Fix the test
2019-08-07 17:33:02 +01:00
16169a0f74
Use nginx latest version
2019-08-07 17:32:52 +01:00
afa2dc53c7
Update README.md
2019-03-23 12:23:12 +01:00
8c590fc68f
Merge pull request #913 from panteparak/DH-Param-Generator-Option
...
Add DH param generator option
2019-03-05 12:46:49 -07:00
15d2817384
Merge pull request #1230 from kamermans/bugfix/ssl_tests_fail_dhparam
...
Fixed tests that are now failing due to the dhparam clearing command …
2019-02-05 13:44:45 -07:00
53a396f406
Merge pull request #1213 from seroron/fix_empty_dhparam
...
Fix empty dhparam.pem
2019-02-05 13:44:02 -07:00
ad41178036
Fixed tests that are now failing due to the dhparam clearing command beating the nginx startup. This is fixed permanently in #1213 , but this PR fixes the test so as not to rely on the dhparam autogen, which is tested elsewhere.
2019-02-04 15:15:04 -05:00
7dd97d4bc3
Merge pull request #1111 from kamermans/bugfix/cant-disable-hsts-noredirect
...
Fixed #1080 , can't disable HSTS with noredirect
2019-01-29 16:21:30 -07:00
6a1a518fec
Fix empty dhparam.pem
2018-12-18 14:05:17 +00:00
62d51562b5
Add gRPC protocol support
2018-11-15 01:02:57 +09:00