X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose%2Fcontrol-panel%2Fconfig%2Fnginx.conf;h=66e8ac4bdde0ae2a8e7388a1b57c9e86f59bc019;hb=refs%2Fchanges%2F63%2F11363%2F1;hp=916caef6a2729cfde27819b57e14f8e201a667c4;hpb=46eaa5dbc187a3ff6a87f5b05c170b1ab986e798;p=portal%2Fnonrtric-controlpanel.git diff --git a/docker-compose/control-panel/config/nginx.conf b/docker-compose/control-panel/config/nginx.conf index 916caef..66e8ac4 100644 --- a/docker-compose/control-panel/config/nginx.conf +++ b/docker-compose/control-panel/config/nginx.conf @@ -1,3 +1,21 @@ +# ============LICENSE_START=============================================== +# Copyright (C) 2019-2022 Nordix Foundation. All rights reserved. +# ======================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END================================================= +# + + events{} http { @@ -16,8 +34,12 @@ http { set $upstream nonrtric-gateway; proxy_pass http://$upstream:9090; } + location /data-consumer/{ + set $upstream nonrtric-gateway; + proxy_pass http://$upstream:9090; + } location / { try_files $uri $uri/ /index.html; } } -} \ No newline at end of file +}