|
|
|
|
323
|
echo '' >> $cryptpad_nginx_site
|
323
|
echo '' >> $cryptpad_nginx_site
|
324
|
echo ' try_files /www/$uri /www/$uri/index.html /customize/$uri;' >> $cryptpad_nginx_site
|
324
|
echo ' try_files /www/$uri /www/$uri/index.html /customize/$uri;' >> $cryptpad_nginx_site
|
325
|
echo '}' >> $cryptpad_nginx_site
|
325
|
echo '}' >> $cryptpad_nginx_site
|
326
|
- ln -s $cryptpad_nginx_site $rootdir/etc/nginx/sites-enabled/cryptpad
|
|
|
|
|
326
|
+ chroot "$rootdir" ln -s /etc/nginx/sites-available/cryptpad /etc/nginx/sites-enabled/cryptpad
|
327
|
|
327
|
|
328
|
cd $rootdir$CRYPTPAD_DIR
|
328
|
cd $rootdir$CRYPTPAD_DIR
|
329
|
|
329
|
|