| #******************************************************************************* |
| # Copyright (c) 2019 Eclipse Foundation and others. |
| # This program and the accompanying materials are made available |
| # under the terms of the Eclipse Public License 2.0 |
| # which is available at http://www.eclipse.org/legal/epl-v20.html, |
| # or the MIT License which is available at https://opensource.org/licenses/MIT. |
| # SPDX-License-Identifier: EPL-2.0 OR MIT |
| #******************************************************************************* |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| labels: |
| infocenter.version: "2020-03" |
| namespace: "infocenter" |
| name: nginx-config-2020-03 |
| data: |
| nginx.conf: |- |
| worker_processes 1; |
| error_log /var/log/nginx/error.log warn; |
| pid /var/run/nginx.pid; |
| events { |
| worker_connections 1024; |
| } |
| http { |
| include /etc/nginx/mime.types; |
| default_type application/octet-stream; |
| sendfile on; |
| keepalive_timeout 65; |
| server { |
| listen 8080; |
| location /2020-03/ { |
| proxy_pass http://127.0.0.1:8086/help/; |
| } |
| } |
| } |