Skip to content
Snippets Groups Projects
Commit a38b9292 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

feat(nginx): new conf for PWA handling

parent a27bb1ff
No related branches found
No related tags found
1 merge request!2201.14
......@@ -48,8 +48,7 @@ server {
}
location /api {
rewrite ^/api/(.*) /$1 break;
proxy_pass http://service-ram:3000/api;
proxy_pass http://service-ram:3000;
}
location /base-adresse/base-adresse-nationale/streets {
......
......@@ -28,6 +28,16 @@
"maxAge": "12h",
"timeout": "5s"
}
},
{
"name": "api",
"urls": ["/api/**"],
"cacheConfig": {
"strategy": "freshness",
"maxSize": 10000,
"maxAge": "12h",
"timeout": "5s"
}
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment