diff --git a/deploy/nginx/omnl-common-locations.conf b/deploy/nginx/omnl-common-locations.conf index 584afbe..419242b 100644 --- a/deploy/nginx/omnl-common-locations.conf +++ b/deploy/nginx/omnl-common-locations.conf @@ -11,7 +11,7 @@ location /api/v1/ { } location /settlement/ { - proxy_pass http://omnl_settlement/api/v1/settlement/; + proxy_pass http://omnl_settlement/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -22,7 +22,7 @@ location /settlement/ { } location /exchange/ { - proxy_pass http://omnl_exchange/api/v1/exchange/; + proxy_pass http://omnl_exchange/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -43,4 +43,12 @@ location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + add_header Cache-Control "no-cache, no-store, must-revalidate" always; +} + +location = /index.html { + proxy_pass http://omnl_frontend/index.html; + proxy_http_version 1.1; + proxy_set_header Host $host; + add_header Cache-Control "no-cache, no-store, must-revalidate" always; } diff --git a/frontend-dapp/index.html b/frontend-dapp/index.html index 5e2beb6..ba1a61c 100644 --- a/frontend-dapp/index.html +++ b/frontend-dapp/index.html @@ -4,10 +4,38 @@ -