This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freebsd:seafile_with_apache_https [2019/02/22 11:47] tschulz [Apache Setup] |
freebsd:seafile_with_apache_https [2019/02/22 11:55] (current) tschulz [Apache Setup] |
||
---|---|---|---|
Line 99: | Line 99: | ||
... | ... | ||
SERVICE_URL = https://<FQDN> | SERVICE_URL = https://<FQDN> | ||
+ | ... | ||
+ | </file> | ||
+ | * Add **"FILE_SERVER_ROOT"** to **"/usr/local/www/haiwen/conf/seahub_settings.py"**<file python /usr/local/www/haiwen/conf/seahub_settings.py> | ||
+ | ... | ||
+ | FILE_SERVER_ROOT = 'https://<FQDN>/seafhttp' | ||
... | ... | ||
</file> | </file> | ||
+ | ===== Set Automatic Startup ===== | ||
+ | * We end where we started "/etc/rc.conf". Add the following to enable startup of seafile,seahub, and apache<file bash /etc/rc.conf> | ||
+ | ... | ||
+ | LANG="en_US.UTF-8" | ||
+ | LC_ALL="en_US.UTF-8" | ||
+ | seafile_enable="YES" | ||
+ | seahub_enable="YES" | ||
+ | apache24_enable="YES" | ||
+ | ... | ||
+ | </file> | ||
+ | * Finally either restart or run the following to get everything running:<file bash> | ||
+ | service seafile start | ||
+ | service seahub start | ||
+ | service apache24 start | ||
+ | </file> | ||