Skip to content
Snippets Groups Projects
Commit daca6e86 authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

Merge branch 'poc/ghost' into 'dev'

feat: update nginx conf for ghost

See merge request web-et-numerique/pamn_plateforme-des-acteurs-de-la-mediation-numerique/pamn_client!65
parents 102e23ae c390497d
No related branches found
No related tags found
3 merge requests!68Recette,!67Dev,!65feat: update nginx conf for ghost
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment