[extensions-web/deploy] openshift: drop environment variable from Dockerfile, drop IPv6 stuff.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/deploy] openshift: drop environment variable from Dockerfile, drop IPv6 stuff.
- Date: Sun, 16 Dec 2018 20:13:31 +0000 (UTC)
commit 53c50d19a53b7f1caedd80bcb0d24e3ea57000bc
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Mon Dec 17 00:13:22 2018 +0400
openshift: drop environment variable from Dockerfile, drop IPv6 stuff.
openshift/docker/nginx/Dockerfile | 2 --
openshift/docker/nginx/nginx.conf | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/openshift/docker/nginx/Dockerfile b/openshift/docker/nginx/Dockerfile
index 9acd1e1..ed8c8f7 100644
--- a/openshift/docker/nginx/Dockerfile
+++ b/openshift/docker/nginx/Dockerfile
@@ -2,8 +2,6 @@ FROM nginx:stable
MAINTAINER Yuri Konotopov <ykonotopov gnome org>
-ENV EGO_NODE_ADDRESS=extensions-web
-
COPY nginx.conf /tmp
RUN set -ex \
diff --git a/openshift/docker/nginx/nginx.conf b/openshift/docker/nginx/nginx.conf
index 2bb17c4..fef94a2 100644
--- a/openshift/docker/nginx/nginx.conf
+++ b/openshift/docker/nginx/nginx.conf
@@ -8,7 +8,6 @@ events {
use epoll;
}
-
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
@@ -36,8 +35,7 @@ http {
root /usr/share/nginx/html;
- listen 8080 default_server;
- listen [::]:8080 default_server;
+ listen 8080 default_server;
set_real_ip_from 10.0.0.0/8;
real_ip_header X-Forwarded-For;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]