mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 10:05:33 +00:00
add sef configuration example
This commit is contained in:
parent
ca50f85626
commit
7d7629488a
1 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ server {
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404 @yggtracker;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
|
@ -22,4 +22,8 @@ server {
|
||||||
location ~ /\. {
|
location ~ /\. {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location @yggtracker {
|
||||||
|
rewrite ^/(.*)$ /index.php?$1 last;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue