diff --git a/changelog.md b/changelog.md index f473b4f..381f376 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,14 @@ CHANGE LOG ========== +1.0.0+dev (XXXX-XX-XX) +------------------------- + +**Improvements** + +- Default nginx configuration now redirect to backend when admin or api url does not have trailing /. + + 1.0.0 (2024-07-19) ------------------------- diff --git a/install/conf/nginx.conf b/install/conf/nginx.conf index 3f6f5ac..6294c03 100644 --- a/install/conf/nginx.conf +++ b/install/conf/nginx.conf @@ -13,7 +13,7 @@ server { client_max_body_size 200M; - location ~ ^/(api|admin)/ { + location ~ ^/(api|admin) { proxy_pass http://django; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme;