Rich Lafferty
f89d0c0620
Supply max_fails=0 on all server entries
...
If nginx-proxy is run on a host whose docker config has multiple
networks, then it will generate an additional
server XXX down;
entry in each upstream for networks on which the container _isn't_.
Having more than one server entry in an upstream invokes nginx's
max_fails/fail_timeout behavior, which will mark the only live
upstream server as down for 10s if it returns ONE error response.
Instead, we want nginx to keep retrying the live upstream server
regardless of what it returns, since there's nothing else to try.
Passing "max_fails=0" on each live server entry disables the
max_fails/fail_timeout behavior.
2021-06-09 09:24:37 +02:00
Nicolas Duchon
d9d7a3354d
Merge pull request #1653 from nginx-proxy/dependabot/docker/golang-1.16.5
...
chore(deps): bump golang from 1.15.10 to 1.16.5
2021-06-09 01:34:47 +02:00
dependabot[bot]
1967ca2a57
chore(deps): bump golang from 1.15.10 to 1.16.5
...
Bumps golang from 1.15.10 to 1.16.5.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 23:28:24 +00:00
Nicolas Duchon
7f2307626d
Merge pull request #1603 from nginx-proxy/forego
...
Chore: switch to go mod compatible fork of forego
2021-06-09 01:27:31 +02:00
Nicolas Duchon
242caf9e69
chore: switch to go mod compatible fork of forego
2021-06-09 01:18:02 +02:00
Nicolas Duchon
49b2b5cd97
Merge pull request #1609 from pini-gh/pini-1132
...
Honor VIRTUAL_PORT + DEBUG flag + fallback entry
2021-05-28 12:07:32 +02:00
Gilles Filippini
2bb53bd303
test: add tests for the DEBUG flag
2021-05-28 01:52:01 +02:00
Gilles Filippini
3785649eb6
test: VIRTUAL_PORT != single exposed port
2021-05-28 00:04:59 +02:00
Gilles Filippini
97a5dec57a
Honor VIRTUAL_PORT + DEBUG flag + fallback entry
...
The VIRTUAL_PORT environment variable should always be honored.
Even when the related port is not exposed.
Fix for nging-proxy/nginx-proxy#1132 .
This commit also add the DEBUG environment variable which enables more
verbose comments in the nginx comfiguration file to help troubleshooting
unreachable containers.
Finaly it fixes nging-proxy/nginx-proxy#1105 as well by defining only one
fallback entry per upstream block.
2021-05-28 00:04:43 +02:00
Nicolas Duchon
3afdd9d9e3
Merge pull request #1620 from alekna/server_tokens
...
Make server_tokens configurable per virtual-host
2021-05-13 22:58:12 +02:00
Laurynas Alekna
fb7a11212f
Make server_tokens configurable per virtual-host
2021-05-13 21:52:06 +01:00
Nicolas Duchon
5bcb77c240
Merge pull request #1619 from alekna/create_server_certificate
...
Fix broken create_server_certificate.sh
2021-05-11 12:13:36 +02:00
Laurynas Alekna
70b95b1708
Fix create_server_certificate.sh
...
Docker image nginx:1.14.1 has no openssl installed. Therefore upgrading to nginx:1.19.10
2021-05-11 10:29:22 +01:00
Nicolas Duchon
e3e8d24930
Merge pull request #1185 from kressh/master
...
Set proper X-Forwarded-Ssl for SSL-terminated setups
2021-05-05 16:32:47 +02:00
Nicolas Duchon
09d30cf1a6
ci: don't run tests on docs only change
2021-05-01 22:37:01 +02:00
Nicolas Duchon
a9cfdc843e
docs: fix broken link
2021-05-01 22:30:57 +02:00
Nicolas Duchon
fa3962e54f
Merge pull request #1557 from joe-p/remove_scoped
...
Remove scoped IPv6 addresses from resolvers (fix #1424 )
2021-04-29 22:50:04 +02:00
Nicolas Duchon
65a88a0291
Merge branch 'main' into remove_scoped
2021-04-29 22:36:01 +02:00
Nicolas Duchon
b1d5967d9c
Merge pull request #1263 from jessejoe/improve_skipping_dhparam
...
Change dhparam positional args to be inherited vars, standardize naming
2021-04-29 03:33:49 +02:00
Nicolas Duchon
ab81ff8df2
style: linting with shellcheck
2021-04-29 03:18:40 +02:00
Nicolas Duchon
c327496495
refactor: do not pass unused positional arguments
2021-04-29 03:18:04 +02:00
Jesse Jarzynka
cbc6f09d2a
Change dhparam positional args to be inherited vars, standardize naming
...
PR #913 added `DHPARAM_GENERATION` as a positional argument to
generate-dhparam.sh. However, since it was the second positional argument,
`DHPARAM_BITS` would also have to be defined or `DHPARAM_GENERATION` would be
read into `DHPARAM_BITS`. This changes the arguments to be inherited variables
which do not depend on order, just declaration.
Also change instances of `GENERATE_DHPARAM` to `DHPARAM_GENERATION` since it's
unnecessary to have another variable. I think `GENERATE_DHPARAM` is actually a
better name (verb vs. noun), but `DHPARAM_GENERATION` is already defined and
may break someone if changed.
Addresses https://github.com/jwilder/nginx-proxy/pull/913#issuecomment-476014691
2021-04-29 03:11:43 +02:00
Nicolas Duchon
5c1a1c8a6d
Merge pull request #1163 from cheald/unique-upstreams
...
Suffix upstream names to prevent confusion with FQDNs
2021-04-29 02:30:45 +02:00
Chris Heald
85327a871e
Suffix upstream names to prevent confusion with FQDNs
2021-04-29 02:21:19 +02:00
Nicolas Duchon
e3cc439ff0
doc: bring badges in line with acme-companion
2021-04-28 22:43:40 +02:00
Nicolas Duchon
35df872705
Merge pull request #973 from Sparted/master
...
Upd: Boost worker_connections from 1024 to 10240.
2021-04-28 21:39:57 +02:00
Nicolas Duchon
1f937dd6a5
docs: don't mention Docker container based tests
...
Those aren't working yet and are being worked on
close #1605
2021-04-28 09:58:03 +02:00
Nicolas Duchon
f7444094ca
ci: remove Travis CI
2021-04-27 01:12:28 +02:00
Nicolas Duchon
0d2efaee95
docs: update nginx version and CI badge
2021-04-27 01:10:17 +02:00
dependabot[bot]
a6f4bfa15b
Merge pull request #1590 from nginx-proxy/dependabot/docker/nginx-1.19.10
2021-04-26 22:50:19 +00:00
dependabot[bot]
5e4f005240
Bump nginx from 1.19.3 to 1.19.10
...
Bumps nginx from 1.19.3 to 1.19.10.
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 22:44:46 +00:00
Nicolas Duchon
aa9386129d
Merge pull request #1572 from kmarilleau/travis_to_github_actions
...
Travis to GitHub actions
2021-04-27 00:42:21 +02:00
Kevin Marilleau
1518c39e1b
docs: update "how to install/test" parts
2021-04-27 00:35:21 +02:00
Kevin Marilleau
39f822dd8b
refactor(ci): ♻️ refactor makefile and modify its usage on CI
2021-04-27 00:35:21 +02:00
Kevin Marilleau
1591fd7968
chore(ci): 💚 use standard python for nginx-proxy-tester
2021-04-27 00:35:21 +02:00
Kevin Marilleau
3b1163291b
fix(test): test_dockergen_v3 version comparison
2021-04-27 00:35:21 +02:00
Kevin Marilleau
dd853b2572
chore(ci): 👷 mv unit test from travis to ga
2021-04-27 00:35:20 +02:00
Kevin Marilleau
dd7f7e8427
fix(ci): wrong nginx-proxy image used on default_host test
2021-04-27 00:35:20 +02:00
Kevin Marilleau
0c60d57031
fix(ci): fix test_dhparam_is_generated_if_missing
2021-04-27 00:35:20 +02:00
Kevin Marilleau
6fd3cfb38f
fix(ci): 🔧 add markers on pytest.ini to fix warnings
2021-04-27 00:35:20 +02:00
Kevin Marilleau
37e85e6e8d
chore(ci): ♻️ convert Python old % string to f-strings
2021-04-27 00:35:20 +02:00
Kevin Marilleau
eba9ac4261
chore(ci): ⬆️ update python dependencies to latests release
2021-04-27 00:35:19 +02:00
Kevin Marilleau
950a28f5ea
chore(ci): ⬆️ porting python 2.7 code to python 3.9
2021-04-27 00:35:19 +02:00
Nicolas Duchon
fe79dd4cd3
Merge pull request #1601 from nginx-proxy/dockergen-0.7.6
...
Bump docker-gen from 0.7.4 to 0.7.6
2021-04-26 15:09:55 +02:00
Nicolas Duchon
f8aa9a1637
chore: bump docker-gen from 0.7.4 to 0.7.6
2021-04-26 14:55:33 +02:00
Nicolas Duchon
eac17ac03c
Merge pull request #1599 from tkw1536/patch-1
...
Remove Google Forum Link from Issue Template
2021-04-21 23:45:32 +02:00
Tom Wiesing
cfa9cf31d7
Remove Google Forum Link from Issue Template
...
The Google Forum no longer exists. Therefore the link to it in the issue template should be removed.
2021-04-21 21:04:45 +02:00
Nicolas Duchon
6613e272eb
ci: rebuild and push the latest image on schedule
...
Rebuild and push the last commit of the default branch every monday at 00:00 UTC
2021-04-07 17:10:37 +02:00
Nicolas Duchon
9efeb5d8af
ci: build the debian and alpine images in parallel
2021-04-06 00:11:53 +02:00
Nicolas Duchon
24565440b2
docs: update DockerHub shields
2021-04-05 13:56:14 +02:00