diff --git a/README.md b/README.md index 866bcdd..bc36303 100644 --- a/README.md +++ b/README.md @@ -14,5 +14,17 @@ php-gd https://github.com/kvazar-network/database +### nginx sef mode + +``` + location / { + try_files $uri $uri/ =404 @sef; + } + + location @sef { + rewrite ^(/.*)$ /?$1 last; + } +``` + ### webapp example https://kvazar.today