diff --git a/gemini/EN/install.gmi b/gemini/EN/install.gmi index 7f8f7f68..e5832e3d 100644 --- a/gemini/EN/install.gmi +++ b/gemini/EN/install.gmi @@ -19,6 +19,12 @@ Create a user for the server to run as: adduser --system --home=/opt/epicyon --group epicyon chown -R epicyon:epicyon /opt/epicyon +Link news mirrors: + + mkdir /var/www/YOUR_DOMAIN + mkdir -p /opt/epicyon/accounts/newsmirror + ln -s /opt/epicyon/accounts/newsmirror /var/www/YOUR_DOMAIN/newsmirror + Create a daemon: nano /etc/systemd/system/epicyon.service @@ -104,6 +110,11 @@ And paste the following: index index.html; + location /newsmirror { + root /var/www/YOUR_DOMAIN; + try_files $uri =404; + } + location / { proxy_http_version 1.1; client_max_body_size 31M; diff --git a/website/EN/index.html b/website/EN/index.html index c3b0705b..3d9c7355 100644 --- a/website/EN/index.html +++ b/website/EN/index.html @@ -1263,7 +1263,7 @@

Want to read the news from an RSS feed, or run your own Independent Media Center producing news and federating it through the network? Both of those are possible. The newswire gives you the capability of collectively moderating news as it arrives, and publishing your own articles. The administrator can assign moderator and editor roles to other users on an instance. Organize your community to overcome the limitations of corporate media.

- +

You will need python version 3.7 or later.

@@ -1293,6 +1293,15 @@

chown -R epicyon:epicyon /opt/epicyon

+

+ Link news mirrors: +

+
+

mkdir /var/www/YOUR_DOMAIN

+

mkdir -p /opt/epicyon/accounts/newsmirror

+

ln -s /opt/epicyon/accounts/newsmirror /var/www/YOUR_DOMAIN/newsmirror

+
+

Create a daemon:

@@ -1389,6 +1398,11 @@
index index.html;

+ location /newsmirror {
+ root /var/www/YOUR_DOMAIN;
+ try_files $uri =404;
+ }
+
location / {
proxy_http_version 1.1;
client_max_body_size 31M;