diff --git a/doc/Admin.md b/doc/Admin.md index b3b4ccc..cb51744 100644 --- a/doc/Admin.md +++ b/doc/Admin.md @@ -4,4 +4,4 @@ 2. 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. 3. Reboot your YunoHost server to make the tun device available. Navigate to Tools->Shutdown and click Reboot. 4. Navigate to Tools -> Yunohost Settings -> Security, and under NGINX, disable "Force HTTPS." Click Save to apply the changes. -5. Finally edit `/etc/nginx/conf.d/[your-domain].conf`, add your cjdns-ipv6 to the list of `server_name`. +5. Finally edit `/etc/nginx/conf.d/[your-domain].conf`, add your cjdns-ipv6 to the list of `server_name`. \ No newline at end of file diff --git a/scripts/install b/scripts/install index 6062354..f75ccee 100755 --- a/scripts/install +++ b/scripts/install @@ -96,6 +96,11 @@ ynh_script_progression --message="Launching cjdns service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" +#================================================= +# MAKE WORDPRESS AVAILABLE ON CJDNS +#================================================= + +yunohost tools shell -c "from yunohost.permission import permission_url; permission_url('wordpress.main', add_url=['re:^.fc.*'])" #================================================= # MAKE WORDPRESS AVAILABLE ON CJDNS