Update Simple URLs

Ruan 2021-07-26 19:16:36 +00:00
parent 630c6330c7
commit df97ba15bf

@ -4,11 +4,14 @@ For simple URLs to work, your web server must be configured correctly.
In nginx.conf:
```
location /punishments {
try_files $uri $uri/ /punishments/index.php?$uri&$args;
location /bans {
try_files $uri $uri/ /bans/index.php?$uri&$args;
index index.php index.html;
}
```
Replace each instance of `/bans` with the correct directory name, if applicable.
## Apache
Note: Untested. This probably doesn't work.