mirror of
https://github.com/YunoHost-Apps/cjdns_ynh.git
synced 2024-09-03 18:16:29 +02:00
update with instructions
This commit is contained in:
parent
53702cb2c5
commit
8bfb026517
1 changed files with 39 additions and 1 deletions
38
README.md
38
README.md
|
@ -1,3 +1,41 @@
|
||||||
# Cjdns for Yunohost
|
# Cjdns for Yunohost
|
||||||
|
|
||||||
This is a cjdns app for yunohost.
|
This is a cjdns app for yunohost.
|
||||||
|
|
||||||
|
## cjdns
|
||||||
|
Networking Reinvented
|
||||||
|
Cjdns implements an encrypted IPv6 network using public-key cryptography for address allocation and a distributed hash table for routing. This provides near-zero-configuration networking, and prevents many of the security and scalability issues that plague existing networks.
|
||||||
|
|
||||||
|
https://github.com/cjdelisle/cjdns
|
||||||
|
|
||||||
|
|
||||||
|
# Setup your website on cjdns network
|
||||||
|
|
||||||
|
1. Install Yunohost by following the detailed instructions provided [here](link-to-instructions).
|
||||||
|
2. Once the installation is complete, log in as an administrator at `yunohost.local`. Perform a system update, which may take some time.
|
||||||
|
3. Return to `yunohost.local` after the update and navigate to the Applications menu. Click on Install, search for "wordpress," select it, and proceed with the installation.
|
||||||
|
4. In the Applications menu, search for "cjdns" and install it. If it does not appear due to not being published yet. You can sideload it by pasting the following URL: `https://github.com/dkoukoul/cjdns_ynh` into the "Install custom app" section.
|
||||||
|
5. Obtain your cjdns IPv6 address by navigating to Tools -> Logs -> Click on "Install the 'cjdns' app." Your IPv6 address should be displayed in the log.
|
||||||
|
6. Reboot your Yunohost server to make the tun device available. Navigate to Tools->Shutdown and click Reboot.
|
||||||
|
7. Navigate to Tools -> Yunohost Settings -> Security, and under NGINX, disable "Force HTTPS." Click Save to apply the changes.
|
||||||
|
8. Edit `/etc/nginx/conf.d/[your-domain].conf`, add your cjdns-ipv6 to the list of `server_name`.
|
||||||
|
9. Finally, to allow public access for cjdns requests to your new wordpress site you can do the following:
|
||||||
|
1. SSH into your yunohost server
|
||||||
|
2. Copy current sso configuration file to persistent: `cp /etc/ssowat/conf.json /etc/ssowat/conf.json.persistent`
|
||||||
|
3. Then edit the persistent file: `nano /etc/ssowat/conf.json.persistent`
|
||||||
|
4. Change `public` to `true` and add this line under the `wordpress.main uris` section: `"re:^.fc.*"`. Remember to add a trailing “,” to the above entry. For example:
|
||||||
|
|
||||||
|
```json
|
||||||
|
"wordpress.main": {
|
||||||
|
"auth_header": true,
|
||||||
|
"label": "WordPress",
|
||||||
|
"public": true,
|
||||||
|
"show_tile": true,
|
||||||
|
"uris": [
|
||||||
|
"example.nohost.me/blog",
|
||||||
|
"re:^.fc.*"
|
||||||
|
],
|
||||||
|
"use_remote_user_var_in_nginx_conf": false,
|
||||||
|
"users": []
|
||||||
|
}
|
||||||
|
``````
|
||||||
|
|
Loading…
Add table
Reference in a new issue