mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-13 09:17:32 +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:
|
In nginx.conf:
|
||||||
|
|
||||||
```
|
```
|
||||||
location /punishments {
|
location /bans {
|
||||||
try_files $uri $uri/ /punishments/index.php?$uri&$args;
|
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
|
## Apache
|
||||||
|
|
||||||
Note: Untested. This probably doesn't work.
|
Note: Untested. This probably doesn't work.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user