docs/install: use example.com for example domain
This commit is contained in:
parent
a98ca55391
commit
e35e709927
1 changed files with 6 additions and 6 deletions
12
INSTALL.md
12
INSTALL.md
|
@ -147,8 +147,8 @@ the one in the `config.yaml`, so that client knows how to access the backend!
|
||||||
|
|
||||||
In this example:
|
In this example:
|
||||||
|
|
||||||
- The booru is accessed from `http://great.dude/`
|
- The booru is accessed from `http://example.com/`
|
||||||
- The API is accessed from `http://great.dude/api`
|
- The API is accessed from `http://example.com/api`
|
||||||
- The API server listens locally on port 6666, and is proxied by nginx
|
- The API server listens locally on port 6666, and is proxied by nginx
|
||||||
- The static files are served from `/srv/www/booru/client/public/data`
|
- The static files are served from `/srv/www/booru/client/public/data`
|
||||||
|
|
||||||
|
@ -157,7 +157,7 @@ In this example:
|
||||||
```nginx
|
```nginx
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name great.dude;
|
server_name example.com;
|
||||||
|
|
||||||
location ~ ^/api$ {
|
location ~ ^/api$ {
|
||||||
return 302 /api/;
|
return 302 /api/;
|
||||||
|
@ -177,9 +177,9 @@ server {
|
||||||
**`config.yaml`**:
|
**`config.yaml`**:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
api_url: 'http://big.dude/api/'
|
api_url: 'http://example.com/api/'
|
||||||
base_url: 'http://big.dude/'
|
base_url: 'http://example.com/'
|
||||||
data_url: 'http://big.dude/data/'
|
data_url: 'http://example.com/data/'
|
||||||
data_dir: '/srv/www/booru/client/public/data'
|
data_dir: '/srv/www/booru/client/public/data'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue