pulling more

This commit is contained in:
Eric LAZO
2022-08-17 16:18:37 +02:00
parent 1a99c6cc84
commit b45ed52a2a
8 changed files with 59 additions and 17 deletions

View File

@@ -42,8 +42,19 @@ server {
location /upload {
allow_methods POST;
# autoindex on;
# root ./www/;
# index upload_form_single.html;
# upload_dir ./www/user_files/;
# root doesnt matter if used only with POST and no CGI
}
location /uploaded {
allow_methods GET;
autoindex on;
upload_dir ./www/user_files/;
# upload_dir ./www/user_files/;
root ./www/user_files;
# root doesnt matter if used only with POST and no CGI
}
@@ -84,10 +95,12 @@ server {
location /test/test_deeper/ {
# allow_methods
root ./www/test/test_deeper/;
index index1.html;
}
location /test/test_deeper/super_deep {
root ./www/test/test_deeper/super_deep/;
index something.html;
}
# location /test/test_deeper/something.html {