mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-08-26 14:32:00 +00:00
add sef_mode nginx example
This commit is contained in:
parent
ae2e1e2927
commit
064e610713
12
README.md
12
README.md
@ -14,5 +14,17 @@ php-gd
|
|||||||
|
|
||||||
https://github.com/kvazar-network/database
|
https://github.com/kvazar-network/database
|
||||||
|
|
||||||
|
### nginx sef mode
|
||||||
|
|
||||||
|
```
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ =404 @sef;
|
||||||
|
}
|
||||||
|
|
||||||
|
location @sef {
|
||||||
|
rewrite ^(/.*)$ /?$1 last;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### webapp example
|
### webapp example
|
||||||
https://kvazar.today
|
https://kvazar.today
|
||||||
|
Loading…
x
Reference in New Issue
Block a user