add sef_mode nginx example

This commit is contained in:
KVAZAR 2022-04-24 22:24:32 +03:00 committed by GitHub
parent ae2e1e2927
commit 064e610713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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