Skip to content

Commit 5cd2e16

Browse files
committed
Actualized example configuration file
1 parent a778c4b commit 5cd2e16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ http {
2020
# Upload form should be submitted to this location
2121
location /upload {
2222
# Pass altered request body to this location
23-
upload_pass /test;
23+
upload_pass @test;
2424

2525
# Store files to this directory
2626
# The directory is hashed, subdirectories 0 1 2 3 4 5 6 7 8 9 should exist
@@ -42,7 +42,7 @@ http {
4242
}
4343

4444
# Pass altered request body to a backend
45-
location /test {
45+
location @test {
4646
proxy_pass http://localhost:8080;
4747
}
4848
}

0 commit comments

Comments
 (0)