aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Williams2025-08-10 21:56:48 +0000
committerEmil Williams2025-08-10 21:56:48 +0000
commit2f32db81881fa6eefc7da79e73add5f8c9056cfd (patch)
treeaf9d8221134b3f9d3ddbd9d3da6a0d4573393c74
parent7de2a7f6aab9af8f356030c4c700f429886fdb17 (diff)
downloademil-up.chud.cyou-2f32db81881fa6eefc7da79e73add5f8c9056cfd.tar.xz
emil-up.chud.cyou-2f32db81881fa6eefc7da79e73add5f8c9056cfd.tar.zst
index
-rw-r--r--index.html2
-rw-r--r--up.chud.cyou3
2 files changed, 3 insertions, 2 deletions
diff --git a/index.html b/index.html
index ca8950e..421f415 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,7 @@
<body>
<center>
<div class="box">
- <img src="title.png">
+ <img src="title.png" width="30em" height="15em">
<form action="https://up.chud.cyou/upchud.tcl" method="post" enctype="multipart/form-data">
<fieldset>
<legend>Upload a file</legend>
diff --git a/up.chud.cyou b/up.chud.cyou
index 1f9cce3..5cfba7f 100644
--- a/up.chud.cyou
+++ b/up.chud.cyou
@@ -24,7 +24,7 @@ server {
client_max_body_size 100m;
- location = /style.css {
+ location = /(style.css|title.png) {
try_files $uri =404;
}
@@ -56,5 +56,6 @@ server {
rewrite ^/$ /index.html last;
rewrite ^/upchud.tcl$ /upchud.tcl last;
rewrite ^/style.css$ /style.css last;
+ rewrite ^/title.png$ /title.png last;
rewrite ^/(.+)$ /out/$1;
}