Personalize portfolio and add technical case studies

This commit is contained in:
2026-07-16 05:29:37 +00:00
parent be79a1e9f3
commit ad55fa1a7f
12 changed files with 916 additions and 506 deletions
+17 -3
View File
@@ -6,6 +6,7 @@ server {
root /usr/share/nginx/html;
index index.html;
server_tokens off;
charset utf-8;
access_log /dev/stdout;
error_log /dev/stderr warn;
@@ -13,8 +14,11 @@ server {
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
add_header Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=(), payment=(), usb=()" always;
add_header Cross-Origin-Opener-Policy "same-origin" always;
add_header Cross-Origin-Resource-Policy "same-origin" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header Content-Security-Policy "default-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; script-src 'none'; connect-src 'none'; object-src 'none'; frame-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests" always;
location = /healthz {
access_log off;
@@ -22,7 +26,17 @@ server {
return 200 "ok\n";
}
location ~* \.(css|svg)$ {
expires 7d;
try_files $uri =404;
}
location ~* \.html$ {
expires -1;
try_files $uri =404;
}
location / {
try_files $uri $uri/ /index.html;
try_files $uri $uri/ $uri.html /index.html;
}
}