diff --git a/nginx/dev.conf b/nginx/dev.conf index 4d727b257fe18fcdd966ab101a930d9da0abc7b9..bb472e0c296a2dfe28b683f99901d3a1b4434c3f 100644 --- a/nginx/dev.conf +++ b/nginx/dev.conf @@ -23,9 +23,9 @@ server { sub_filter '</head>' '$matomo_script</head>'; } - location /api { - rewrite ^/api/(.*) /$1 break; - proxy_pass http://service-ram:3000/api; + location /api { + rewrite ^/api/(.*) /$1 break; + proxy_pass http://service-ram:3000/api; } location /base-adresse/base-adresse-nationale/streets { @@ -45,6 +45,13 @@ server { proxy_pass https://download.data.grandlyon.com/wfs/grandlyon; } + location ~* (/ghost) { + expires epoch; + proxy_no_cache 1; + proxy_pass http://ghost:2368; + } + + # REALLY important for JavaScript modules (type="module") to work as expected!!! location ~ \.js {