Extra cache control

main
Bob Mottram 2020-06-08 14:05:35 +01:00
parent 7b583a0c65
commit 690b673d1a
2 changed files with 12 additions and 6 deletions

View File

@ -114,6 +114,9 @@ And paste the following:
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forward-Proto http;
proxy_set_header X-Nginx-Proxy true;
expires 7;
proxy_set_header Pragma public;
proxy_set_header Cache-Control "public";
proxy_temp_file_write_size 64k;
proxy_connect_timeout 10080s;
proxy_send_timeout 10080;

View File

@ -1199,7 +1199,7 @@
<p class="intro">
You don't need a separate blog system. Blog posts can be added and edited, and are federated as ActivityPub articles. They also have RSS version 2.0 and <a href="http://r3r.sourceforge.net/rss3-spec.xhtml">3.0</a> feeds. People can comment on blog posts, but unlike other systems the moderation settings apply just the same as they do for any other fediverse post arriving at your server. This makes blog spam much easier to keep control over.
</p>
<p class="siteheader">International and Customizable</p>
<p class="intro">
Epicyon supports many languages. Translations and emoji can easily be added. Alter the logo, backgrounds, terms of service and style to create a unique personality for your instance. Choose from a few different themes, or make a new one.
@ -1218,7 +1218,7 @@
Epicyon's lack of javascript makes it much more usable in shell based web browsers such as <a href="https://en.wikipedia.org/wiki/Lynx_%28web_browser%29">Lynx</a>. As new web systems are deployed we should not be leaving anyone with minority use cases behind.
</p>
<img width="70%" src="img/screenshot_lynx.jpg" alt="lynx screenshot"/>
<p class="siteheader">Media Timeline</p>
<p class="intro">
Some posts contain images and some don't. The media timeline enables you to view all your pet photos in one place.
@ -1236,7 +1236,7 @@
<p class="siteheader">Promote Your Skills and Build Teams</p>
<p class="intro">
Define a set of skills in your profile and search for other people who have the skills you need. Organize teams who can get things done!
</p>
</p>
<table style="margin:1% 10%;width:90%" border="0">
<tr>
<th><img width="90%" src="img/skills.jpg" /></th>
@ -1254,11 +1254,11 @@
Stay informed about the topics which people that you follow are highlighting. On the search screen there is a hashtag swarm.
</p>
<img width="70%" src="img/screenshot_tagswarm.jpg" />
<p class="siteheader">No Artificial Incentives</p>
<p class="intro">
No algorithmic timelines. No rating or ranking of people. No trending stuff. Removing the artficial cruft of social networking allows you to focus on things you <i>actually care about</i>, instead of what someone else thinks you should pay attention to.
</p>
</p>
<p id="install" class="siteheader">Install</p>
</center>
<p class="intro">You will need python version 3.7 or later.</p>
@ -1287,7 +1287,7 @@
<p>adduser --system --home=/opt/epicyon --group epicyon</p>
<p>chown -R epicyon:epicyon /opt/epicyon</p>
</div>
<p class="intro">
Create a daemon:
</p>
@ -1394,6 +1394,9 @@
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;<br>
proxy_set_header X-Forward-Proto http;<br>
proxy_set_header X-Nginx-Proxy true;<br>
expires 7;<br>
proxy_set_header Pragma public;<br>
proxy_set_header Cache-Control "public";<br>
proxy_temp_file_write_size 64k;<br>
proxy_connect_timeout 10080s;<br>
proxy_send_timeout 10080;<br>