diff options
| author | Emil Williams | 2025-08-10 21:56:48 +0000 |
|---|---|---|
| committer | Emil Williams | 2025-08-10 21:56:48 +0000 |
| commit | 2f32db81881fa6eefc7da79e73add5f8c9056cfd (patch) | |
| tree | af9d8221134b3f9d3ddbd9d3da6a0d4573393c74 | |
| parent | 7de2a7f6aab9af8f356030c4c700f429886fdb17 (diff) | |
| download | emil-up.chud.cyou-2f32db81881fa6eefc7da79e73add5f8c9056cfd.tar.xz emil-up.chud.cyou-2f32db81881fa6eefc7da79e73add5f8c9056cfd.tar.zst | |
index
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | up.chud.cyou | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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; } |
