location picker works, needs to be tested more tho

This commit is contained in:
Me
2022-08-10 01:59:10 +02:00
parent 1eb989a3fd
commit 8e90221058
8 changed files with 141 additions and 68 deletions

View File

@@ -13,8 +13,19 @@ server {
root ./www/;
error_page 404 ./www/error_pages/error_404.html;
location /test {
index index1.html;
index index1.html subdex.html;
}
location /test/index1.html {
index index1.html subdex.html;
}
location /hilarious_404/ {
redirect 301 https://berniesanders.com/404/;
}
# /stylesheet/ alone doesn't work, i mean we don't have wildcards...