mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-23 11:17:02 -04:00
self-hosting instructions
This commit is contained in:
parent
0575108f69
commit
75dbeacc6c
1 changed files with 16 additions and 1 deletions
17
README.md
17
README.md
|
@ -35,10 +35,25 @@ organized by timestamp. For each sites it saves:
|
||||||
- screenshot of site using headless chrome
|
- screenshot of site using headless chrome
|
||||||
- PDF of site using headless chrome
|
- PDF of site using headless chrome
|
||||||
|
|
||||||
The wget archive is suitable for serving on your personal server, you can upload the pocket
|
## Publishing Your Archive
|
||||||
|
|
||||||
|
The pocket archive is suitable for serving on your personal server, you can upload the pocket
|
||||||
archive to `/var/www/pocket` and allow people to access your saved copies of sites.
|
archive to `/var/www/pocket` and allow people to access your saved copies of sites.
|
||||||
|
|
||||||
|
|
||||||
|
Just stick this in your nginx config to properly serve the wget-archived sites:
|
||||||
|
|
||||||
|
```nginx
|
||||||
|
location /pocket/ {
|
||||||
|
alias /var/www/pocket/;
|
||||||
|
try_files $uri $uri/ $uri.html =404;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure you're not running any content as CGI or PHP, you only want to serve static files!
|
||||||
|
|
||||||
|
Urls look like: `https://sweeting.me/pocket/archive/1493350273/en.wikipedia.org/wiki/Dining_philosophers_problem`
|
||||||
|
|
||||||
## Info
|
## Info
|
||||||
|
|
||||||
This is basically an open-source version of [Pocket Premium](https://getpocket.com/).
|
This is basically an open-source version of [Pocket Premium](https://getpocket.com/).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue