Skip to content

Commit 1f29132

Browse files
committed
fix(docker): NGINX_PROXY_PASS_URL use long cache DNS resolution (#333)
fix #333
1 parent 3414d7b commit 1f29132

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nginx/default.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ server {
3131
#! proxy_http_version 1.1;
3232
#! ${NGINX_PROXY_HEADERS}
3333
#! ${NGINX_PROXY_PASS_HEADERS}
34-
#! proxy_pass ${NGINX_PROXY_PASS_URL};
34+
#! set $registry_server "${NGINX_PROXY_PASS_URL}";
35+
#! proxy_pass $registry_server;
3536
#! }
3637

3738
#error_page 404 /404.html;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docker-registry-ui",
3-
"version": "2.5.2",
3+
"version": "2.5.3",
44
"type": "module",
55
"scripts": {
66
"format": "npm run format-html && npm run format-js && npm run format-riot",

0 commit comments

Comments
 (0)