add apache config
This commit is contained in:
parent
c030a17398
commit
99236c65fa
|
@ -54,13 +54,15 @@ Self-hosting toot outside of Vercel requires some extra setup:
|
||||||
1. Apache
|
1. Apache
|
||||||
|
|
||||||
```
|
```
|
||||||
placeholder
|
DocumentRoot "path_to_toot/public"
|
||||||
|
|
||||||
|
ProxyPass "/api/toot" "http://localhost:8000/"
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Nginx
|
2. Nginx
|
||||||
|
|
||||||
```
|
```
|
||||||
root /home/toot/public;
|
root path_to_toot/public;
|
||||||
index.html;
|
index.html;
|
||||||
|
|
||||||
location /api/toot {
|
location /api/toot {
|
||||||
|
|
Loading…
Reference in New Issue