forked from indymedia/epicyon
Document creation of news mirror
parent
3d629a1287
commit
23fcc996dc
|
@ -19,6 +19,12 @@ Create a user for the server to run as:
|
||||||
adduser --system --home=/opt/epicyon --group epicyon
|
adduser --system --home=/opt/epicyon --group epicyon
|
||||||
chown -R epicyon:epicyon /opt/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:
|
Create a daemon:
|
||||||
|
|
||||||
nano /etc/systemd/system/epicyon.service
|
nano /etc/systemd/system/epicyon.service
|
||||||
|
@ -104,6 +110,11 @@ And paste the following:
|
||||||
|
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location /newsmirror {
|
||||||
|
root /var/www/YOUR_DOMAIN;
|
||||||
|
try_files $uri =404;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
client_max_body_size 31M;
|
client_max_body_size 31M;
|
||||||
|
|
|
@ -1263,7 +1263,7 @@
|
||||||
<p class="intro">
|
<p class="intro">
|
||||||
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.
|
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.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p id="install" class="siteheader">Install</p>
|
<p id="install" class="siteheader">Install</p>
|
||||||
</center>
|
</center>
|
||||||
<p class="intro">You will need python version 3.7 or later.</p>
|
<p class="intro">You will need python version 3.7 or later.</p>
|
||||||
|
@ -1293,6 +1293,15 @@
|
||||||
<p>chown -R epicyon:epicyon /opt/epicyon</p>
|
<p>chown -R epicyon:epicyon /opt/epicyon</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p class="intro">
|
||||||
|
Link news mirrors:
|
||||||
|
</p>
|
||||||
|
<div class="shell">
|
||||||
|
<p>mkdir /var/www/YOUR_DOMAIN</p>
|
||||||
|
<p>mkdir -p /opt/epicyon/accounts/newsmirror</p>
|
||||||
|
<p>ln -s /opt/epicyon/accounts/newsmirror /var/www/YOUR_DOMAIN/newsmirror</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="intro">
|
<p class="intro">
|
||||||
Create a daemon:
|
Create a daemon:
|
||||||
</p>
|
</p>
|
||||||
|
@ -1389,6 +1398,11 @@
|
||||||
<br>
|
<br>
|
||||||
index index.html;<br>
|
index index.html;<br>
|
||||||
<br>
|
<br>
|
||||||
|
location /newsmirror {<br>
|
||||||
|
root /var/www/YOUR_DOMAIN;<br>
|
||||||
|
try_files $uri =404;<br>
|
||||||
|
}<br>
|
||||||
|
<br>
|
||||||
location / {<br>
|
location / {<br>
|
||||||
proxy_http_version 1.1;<br>
|
proxy_http_version 1.1;<br>
|
||||||
client_max_body_size 31M;<br>
|
client_max_body_size 31M;<br>
|
||||||
|
|
Loading…
Reference in New Issue