Skip to content

Commit fe7834e

Browse files
committed
fix: enable /errors routes
1 parent 5e4abf3 commit fe7834e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

k8s/lifemonitor-web/templates/nginx.configmap.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ data:
105105
106106
# location for error pages
107107
location ~ ^/error {
108+
# rewrite request uri to point to the api
109+
rewrite /error/(.*) /api/error/$1 break;
110+
108111
# disable redirects
109112
proxy_redirect off;
110113

ngsw-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"name": "api",
3434
"urls": [
3535
"/api/**",
36+
"/error/**",
3637
"/account/**",
3738
"/oauth2/**",
3839
"/jobs/**",

0 commit comments

Comments
 (0)