first commit

This commit is contained in:
adlevin
2025-07-27 15:47:34 +03:00
commit 1811c43e7a
17 changed files with 2793 additions and 0 deletions

27
nginx_fidem.conf Normal file
View File

@@ -0,0 +1,27 @@
server {
listen 80;
server_name 89.169.53.68;
root /var/www/fidem;
index index.html;
# Security headers
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
add_header X-XSS-Protection "1; mode=block";
# Main location
location / {
try_files $uri $uri/ =404;
}
# Cache static files
location ~* \.(css|js|png|jpg|jpeg|gif|svg|webp|woff|woff2|ttf|otf)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# Gzip compression
gzip on;
gzip_types text/css application/javascript image/svg+xml;
}