From b0d0447e18a624f0333993b1663d774c343e98c5 Mon Sep 17 00:00:00 2001 From: whayter Date: Tue, 2 Nov 2021 13:13:29 +0100 Subject: [PATCH 1/2] remove fastcgi_params --- fastcgi_params | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 fastcgi_params diff --git a/fastcgi_params b/fastcgi_params deleted file mode 100644 index c44aa56c..00000000 --- a/fastcgi_params +++ /dev/null @@ -1,21 +0,0 @@ -fastcgi_param QUERY_STRING $query_string; -fastcgi_param REQUEST_METHOD $request_method; -fastcgi_param CONTENT_TYPE $content_type; -fastcgi_param CONTENT_LENGTH $content_length; - -fastcgi_param SCRIPT_NAME $fastcgi_script_name; -fastcgi_param REQUEST_URI $request_uri; -fastcgi_param DOCUMENT_URI $document_uri; -fastcgi_param DOCUMENT_ROOT $document_root; -fastcgi_param SERVER_PROTOCOL $server_protocol; -fastcgi_param REQUEST_SCHEME $scheme; -fastcgi_param HTTPS $https if_not_empty; - -fastcgi_param GATEWAY_INTERFACE CGI/1.1; -fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; - -fastcgi_param REMOTE_ADDR $remote_addr; -fastcgi_param REMOTE_PORT $remote_port; -fastcgi_param SERVER_ADDR $server_addr; -fastcgi_param SERVER_PORT $server_port; -fastcgi_param SERVER_NAME $server_name; From 357eafb1fc4d59e1d789655200b9916f84a1ffa4 Mon Sep 17 00:00:00 2001 From: whayter Date: Tue, 2 Nov 2021 13:27:37 +0100 Subject: [PATCH 2/2] toto.txt && index.php --- www/index.php | 3 ++- www/uploads/toto.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 www/uploads/toto.txt diff --git a/www/index.php b/www/index.php index 37f062c8..34060aa3 100644 --- a/www/index.php +++ b/www/index.php @@ -16,7 +16,8 @@ echo '
' ; echo 'Subject' ; echo 'CGI params' ; -echo 'Upload file' ; +echo 'Upload a file' ; +echo 'Uploads dir' ; echo 'Great stuff' ; echo '
' ; diff --git a/www/uploads/toto.txt b/www/uploads/toto.txt new file mode 100644 index 00000000..fbcf12d5 --- /dev/null +++ b/www/uploads/toto.txt @@ -0,0 +1 @@ +toto