Many improvements to the server #4

Merged
Fascinated merged 13 commits from development into master 2023-07-07 23:07:20 +00:00
Showing only changes of commit 8ad2f46cc3 - Show all commits

@ -6,6 +6,10 @@ http {
access_log /dev/stdout; access_log /dev/stdout;
error_log /dev/stdout; error_log /dev/stdout;
log_format main '[$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
@ -38,10 +42,6 @@ http {
client_max_body_size 500M; # Will get replaced by the environment variable MAX_UPLOAD_SIZE client_max_body_size 500M; # Will get replaced by the environment variable MAX_UPLOAD_SIZE
log_format main '[$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
location /upload.php { location /upload.php {
try_files $uri =404; try_files $uri =404;