This website provides Linux server operation and maintenance, automated script writing and other services. If you need, please contact the blogger on WeChat: xiaozme
Former Sutra Pavilion Document System doc.xiaoz.me
Used BookStackApp This program was built recently, unfortunately xiaoz.me
Alibaba Cloud stopped parsing and had to urgently change the address of Sutra Pavilion to https://doc.xiaoz.org/ Record the process of changing the domain name of BookStackApp.
Change BookStackApp domain name
First, you need to modify the .env
Files, changing APP_URL
The parameter is modified to a new domain name.
Next, you need to modify the data to replace the image address with the new domain name. The following SQL statements need to be executed:
Update pages SET html= REPLACE(html, 'doc.xiaoz.me', 'doc.xiaoz.org'); Update pages SET text= REPLACE(text, 'doc.xiaoz.me', 'doc.xiaoz.org'); Update books SET description= REPLACE(description, 'doc.xiaoz.me', 'doc.xiaoz.org');
among doc.xiaoz.me
Old domain name, doc.xiaoz.org
It is a new domain name, please modify it according to your own situation.
Finally, if your PHP component uses opcache
You also need to restart php fpm
This article refers to: https://github.com/BookStackApp/BookStack/issues/914