aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}