pulling more
This commit is contained in:
@@ -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 doesn’t 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 doesn’t 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 {
|
||||
|
||||
Reference in New Issue
Block a user