Update INSTALL.md
This commit is contained in:
parent
ef0aad10cc
commit
d5696d2fc9
1 changed files with 10 additions and 0 deletions
10
INSTALL.md
10
INSTALL.md
|
@ -102,3 +102,13 @@ and Docker Compose (version 1.6.0 or greater) already installed.
|
|||
proxy_set_header X-Script-Name /szuru;
|
||||
}
|
||||
```
|
||||
|
||||
3. **Preparing for production**
|
||||
|
||||
If you plan on using szurubooru in a production setting, you may opt to
|
||||
use a reverse proxy for added security and caching capabilities. Start
|
||||
by having the client docker listen only on localhost by changing `PORT`
|
||||
in your `.env` file to `127.0.0.1:8080` instead of simply `:8080`. Then
|
||||
configure NGINX (or your caching/reverse proxy server of your choice)
|
||||
to proxy_pass `http://127.0.0.1:8080`. We've included an example config
|
||||
located in the `nginx-vhost.production` file.
|
||||
|
|
Reference in a new issue