Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actualized example configuration file

  • Loading branch information...
commit 5cd2e169641a0dd894ba89a9de85a70fd99d3641 1 parent a778c4b
@vkholodkov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 nginx.conf
View
4 nginx.conf
@@ -20,7 +20,7 @@ http {
# Upload form should be submitted to this location
location /upload {
# Pass altered request body to this location
- upload_pass /test;
+ upload_pass @test;
# Store files to this directory
# The directory is hashed, subdirectories 0 1 2 3 4 5 6 7 8 9 should exist
@@ -42,7 +42,7 @@ http {
}
# Pass altered request body to a backend
- location /test {
+ location @test {
proxy_pass http://localhost:8080;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.