Skip to content

Commit 4b116f7

Browse files
Update rust.md (platformsh#4250)
Co-authored-by: Chad Carlson <chadwcarlson@users.noreply.github.com>
1 parent da08319 commit 4b116f7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sites/upsun/src/languages/rust.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ applications:
5454
# Customize the start command with your own target.
5555
start: './target/debug/hello'
5656

57-
locations:
58-
/:
59-
# Route all requests to the Rust app, unconditionally.
60-
allow: false
61-
passthru: true
57+
locations:
58+
/:
59+
# Route all requests to the Rust app, unconditionally.
60+
allow: false
61+
passthru: true
6262
```
6363
Note that there is still an Nginx proxy server sitting in front of your application. If desired, certain paths may be served directly by Nginx without hitting your application (for static files, primarily) or you may route all requests to the Rust app unconditionally, as in the example above.
6464

0 commit comments

Comments
 (0)