From d7ca74ec8f4ad61bf1ddf2ca11effbc395e0485b Mon Sep 17 00:00:00 2001 From: Trevor Fitzgerald Date: Sun, 19 Nov 2023 10:34:28 -0500 Subject: [PATCH] Nginx conf to support lifat versioned urls --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 59018d36..5f165ff3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,8 +6,8 @@ server { client_max_body_size 4M; root /lila/public; - location /assets/lifat { - alias /lifat; + location ~ ^/assets(\/_\w+)?/lifat/(?.*)$ { + alias /lifat/$file; } location / {