mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
SEO improvements
This commit is contained in:
@@ -37,6 +37,28 @@ http {
|
||||
root /var/www/podsync/;
|
||||
index index.html;
|
||||
|
||||
# Cache media: images, icons, video, audio, HTC
|
||||
# See https://serversforhackers.com/c/nginx-caching
|
||||
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
|
||||
expires 3M;
|
||||
access_log off;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
# Cache CSS and Javascript
|
||||
location ~* \.(?:css|js)$ {
|
||||
expires 1y;
|
||||
access_log off;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
# Cache fonts
|
||||
location ~* \.(?:ttf|woff|woff2|eot|otf)$ {
|
||||
expires 1y;
|
||||
access_log off;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
location /nginx-ping {
|
||||
access_log off;
|
||||
return 200 "pong\n";
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
User-agent: *
|
||||
Allow: /$
|
||||
Allow: /faq.html
|
||||
Allow: /*.js
|
||||
Allow: /*.css
|
||||
Allow: /faq
|
||||
Allow: /assets/*
|
||||
Allow: /fontawesome-webfont*
|
||||
Disallow: /
|
||||
Host: www.podsync.net
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="man"></div>
|
||||
|
||||
<div>
|
||||
<a href="https://www.patreon.com/podsync" target="_blank">
|
||||
<a href="https://www.patreon.com/podsync" target="_blank" rel="noopener">
|
||||
<img alt="Become my patron on Patreon" class="patreon shadow" src="assets/img/become_patreon.png"
|
||||
width="400"/>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user