summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-05 00:46:17 +0500
committerilotterytea <iltsu@alright.party>2025-05-05 00:46:17 +0500
commit91efe9a465df0a6647fbb0f7c5643be89cdcc7e1 (patch)
treee46c5bc90990e4f668ac426999cf013913e798ef /README.md
parent9416f30bc9386b15e525cafaae8031d02c073b93 (diff)
feat: custom static
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
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;
}