X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose%2Fcontrol-panel%2Fconfig%2Fnginx.conf;h=374910f65d6e9a57be87f8951d0163cf4df1a266;hb=e838dbdd9079fc24094da66693a678624a22afc1;hp=81102eb82ea026557504230a328d120a49c4edad;hpb=cdc8a586be446a08d1d43f1f8a56115d5f72d9c6;p=nonrtric.git diff --git a/docker-compose/control-panel/config/nginx.conf b/docker-compose/control-panel/config/nginx.conf index 81102eb8..374910f6 100644 --- a/docker-compose/control-panel/config/nginx.conf +++ b/docker-compose/control-panel/config/nginx.conf @@ -12,8 +12,11 @@ http { server_name localhost; root /usr/share/nginx/html; index index.html; - location /api/ { + location /a1-policy/v2/ { proxy_pass http://backend; } + location / { + try_files $uri $uri/ /index.html; + } } } \ No newline at end of file