From 91efe9a465df0a6647fbb0f7c5643be89cdcc7e1 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 5 May 2025 00:46:17 +0500 Subject: feat: custom static --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a81ae18..6128375 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,11 @@ server { root /www/tinyemotesinstance/public; index index.php; + location ~ ^/static/?(.*)$ { + root /www/tinyemotesinstance/public; + try_files /custom_static/$1 /static/$1 =404; + } + location / { try_files $uri $uri/ /index.php?$query_string; } -- cgit v1.2.3