Set contact email, send X-Robots-Tag for the contact page
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# ---- MÅSTE ändras innan första körning (site.yml avbryter annars) ----
|
||||
site_domain: "50ohm.se"
|
||||
site_admin_email: "admin@example.se" # används av Let's Encrypt
|
||||
site_admin_email: "carl@vargklint.se" # används av Let's Encrypt
|
||||
# Git-källor för den svenska versionen. Byt till dina egna repon/forkar.
|
||||
fiftyohm_repo: "https://git.nyaaa.net/Superminaren/50ohm.git"
|
||||
fiftyohm_contents_dl_repo: "https://git.nyaaa.net/Superminaren/50ohm-contents-dl.git"
|
||||
@@ -45,6 +45,11 @@ nginx_vhosts:
|
||||
location "/" {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
# Contact details: never indexed (also a robots meta tag and Disallow in robots.txt)
|
||||
location = /kontakt.html {
|
||||
add_header X-Robots-Tag "noindex, nofollow, noarchive, nosnippet" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/{{ site_domain }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ site_domain }}/privkey.pem;
|
||||
|
||||
Reference in New Issue
Block a user