From 2cb074463c4d9e3838e6542c4c5dabfdbf2a81cf Mon Sep 17 00:00:00 2001 From: Lucas <135403604+Spl0itable@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:38:41 +1030 Subject: [PATCH] Update from_scratch.md (#286) * Update from_scratch.md Fixing typos from: https://github.com/LemmyNet/lemmy-docs/issues/285 * Fixed types in from_scratch.md Removed tls option --- src/administration/from_scratch.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/administration/from_scratch.md b/src/administration/from_scratch.md index e8bb529..d8d5664 100644 --- a/src/administration/from_scratch.md +++ b/src/administration/from_scratch.md @@ -142,7 +142,7 @@ Note that it might not be the most obvious thing, but **creating the pictrs dire Then copy the binary. ``` -sudo cp target/release/lemmy_server /opt/lemmy-server/lemmy_server +sudo cp target/release/lemmy_server /opt/lemmy/lemmy-server/lemmy_server ``` #### Configuration @@ -186,7 +186,7 @@ After=network.target [Service] User=lemmy ExecStart=/opt/lemmy/lemmy-server/lemmy_server -Environment=LEMMY_CONFIG_LOCATION=/opt/lemmy/server/lemmy.hjson +Environment=LEMMY_CONFIG_LOCATION=/opt/lemmy/lemmy-server/lemmy.hjson Environment=PICTRS_ADDR=127.0.0.1:8080 Environment=RUST_LOG="info" Restart=on-failure @@ -379,7 +379,7 @@ server { set $proxpass "http://0.0.0.0:1234"; if ($http_accept ~ "^application/.*$") { - set $proxpass "http://0.0.0.0:1234"; + set $proxpass "http://0.0.0.0:8536"; } if ($request_method = POST) { set $proxpass "http://0.0.0.0:8536";