mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-12 08:47:33 +00:00
Update Simple URLs
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user