mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-02-08 21:14:24 +00:00
add sef configuration example
This commit is contained in:
parent
ca50f85626
commit
7d7629488a
@ -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…
x
Reference in New Issue
Block a user