Skip to content

Commit dc68ed3

Browse files
committed
wip
1 parent 1eb0031 commit dc68ed3

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

nginx-local-only/cache.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
proxy_cache assistant;
2+
proxy_cache_bypass $no_cache;
3+
proxy_no_cache $no_cache;
4+
5+
proxy_set_header Host $http_host;
6+
proxy_cache_key $request_method$request_uri$is_args$args;
7+
proxy_cache_lock on;
8+
proxy_cache_lock_timeout 10s;
9+
proxy_cache_use_stale error timeout updating;
10+
proxy_cache_background_update on;
11+
add_header X-Cache-Status $upstream_cache_status;

qfdmo/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
path("carte.json", CarteSearchActeursView.as_view(), name="carte_json"),
3030
path("formulaire", FormulaireSearchActeursView.as_view(), name="formulaire"),
3131
path("connexion", LVAOLoginView.as_view(), name="login"),
32-
path(settings.QFDMO_GOOGLE_SEARCH_CONSOLE, google_verification),
32+
path(settings.LVAO.get("GOOGLE_SEARCH_CONSOLE"), google_verification),
3333
path(
3434
"donnez-votre-avis",
3535
RedirectView.as_view(

0 commit comments

Comments
 (0)