From df97ba15bf87bbbd2b693329fd360c30f8c83641 Mon Sep 17 00:00:00 2001 From: Ruan <2369127-ruany@users.noreply.gitlab.com> Date: Mon, 26 Jul 2021 19:16:36 +0000 Subject: [PATCH] Update Simple URLs --- Simple-URLs.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Simple-URLs.md b/Simple-URLs.md index 20dc0d8..9b9644c 100644 --- a/Simple-URLs.md +++ b/Simple-URLs.md @@ -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.