Ci-dessous, les différences entre deux révisions de la page.
| — |
informatique:serveur:calibre-server [2019/03/01 15:47] (Version actuelle) igor créée |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Un serveur calibre ====== | ||
| + | Sur mon serveur debian, j'ai installé '' | ||
| + | |||
| + | Le service: | ||
| + | |||
| + | [Unit] | ||
| + | Description=Calibre Service | ||
| + | After=network.target | ||
| + | | ||
| + | [Service] | ||
| + | Type=forking | ||
| + | PIDFile=/ | ||
| + | ExecStart=/ | ||
| + | --daemonize \ | ||
| + | --port=8080 \- | ||
| + | --log=/ | ||
| + | --pidfile=/ | ||
| + | " | ||
| + | | ||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | |||
| + | Le virtual host: | ||
| + | |||
| + | < | ||
| + | | ||
| + | ServerAdmin machin@exemple.org | ||
| + | ServerName [nom du serveur virtuel] | ||
| + | | ||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | LogLevel warn | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | | ||
| + | SSLEngine on | ||
| + | SSLCertificateFile / | ||
| + | SSLCertificateKeyFile / | ||
| + | | ||
| + | SSLCACertificatePath / | ||
| + | | ||
| + | ProxyPass / http:// | ||
| + | ProxyPassReverse / http:// | ||
| + | <Proxy http:// | ||
| + | Require all granted | ||
| + | </ | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Pour la bibliothèque, | ||