mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-01 10:09:54 +00:00
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
This commit is contained in:
parent
0cd4bf29a9
commit
2cb074463c
1 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ Note that it might not be the most obvious thing, but **creating the pictrs dire
|
||||||
Then copy the binary.
|
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
|
#### Configuration
|
||||||
|
@ -186,7 +186,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
User=lemmy
|
User=lemmy
|
||||||
ExecStart=/opt/lemmy/lemmy-server/lemmy_server
|
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=PICTRS_ADDR=127.0.0.1:8080
|
||||||
Environment=RUST_LOG="info"
|
Environment=RUST_LOG="info"
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
@ -379,7 +379,7 @@ server {
|
||||||
|
|
||||||
set $proxpass "http://0.0.0.0:1234";
|
set $proxpass "http://0.0.0.0:1234";
|
||||||
if ($http_accept ~ "^application/.*$") {
|
if ($http_accept ~ "^application/.*$") {
|
||||||
set $proxpass "http://0.0.0.0:1234";
|
set $proxpass "http://0.0.0.0:8536";
|
||||||
}
|
}
|
||||||
if ($request_method = POST) {
|
if ($request_method = POST) {
|
||||||
set $proxpass "http://0.0.0.0:8536";
|
set $proxpass "http://0.0.0.0:8536";
|
||||||
|
|
Loading…
Reference in a new issue