again
All checks were successful
Publish Docker Image / docker (push) Successful in 57s

This commit is contained in:
Lee 2024-01-11 05:51:26 +00:00
parent 7053659cf3
commit 7783e1a557

View File

@ -39,6 +39,12 @@ http {
client_max_body_size 500M; # Will get replaced by the environment variable MAX_UPLOAD_SIZE
# Fallback 404 page
location = /not-found.html {
internal;
root /tmp/public;
}
# Upload endpoint
location /upload.php {
try_files $uri =404;
@ -60,15 +66,10 @@ http {
open_file_cache_min_uses 1;
open_file_cache_errors on;
error_page 404 /not-found.html;
# Serve the file directly from disk
try_files $uri $uri/ =404;
}
# Fallback 404 page
location = /404.html {
internal;
root /tmp/public;
}
error_page 404 /404.html;
}
}