blob: 374910f65d6e9a57be87f8951d0163cf4df1a266 [file] [log] [blame]
RehanRaza38c1f882021-01-19 13:39:59 +01001events{}
2
3http {
4 include /etc/nginx/mime.types;
5
6 upstream backend {
7 server nonrtric-gateway:9090;
8 }
9
10 server {
11 listen 8080;
12 server_name localhost;
13 root /usr/share/nginx/html;
14 index index.html;
RehanRazae838dbd2021-02-02 11:24:34 +010015 location /a1-policy/v2/ {
RehanRaza38c1f882021-01-19 13:39:59 +010016 proxy_pass http://backend;
17 }
RehanRazae838dbd2021-02-02 11:24:34 +010018 location / {
19 try_files $uri $uri/ /index.html;
20 }
RehanRaza38c1f882021-01-19 13:39:59 +010021 }
22}