← back to Kamatera Nginx
sites-available/abramsprotection.com.conf
25 lines
# abramsprotection.com — thin landing page (path B)
server {
listen 80;
listen [::]:80;
server_name abramsprotection.com www.abramsprotection.com;
root /var/www/abramsprotection.com;
index index.html;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
try_files $uri =404;
}
location / {
try_files $uri $uri/ =404;
}
access_log /var/log/nginx/abramsprotection.com.access.log;
error_log /var/log/nginx/abramsprotection.com.error.log;
}