configuraciones

This commit is contained in:
2025-08-04 11:55:39 -06:00
parent 4bc8a92021
commit 01b809beb2
4 changed files with 16 additions and 3 deletions

View File

@@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/png" href="/src/assets/aduanas_soft.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<title>Expediente Electronico</title>
</head>
<body>
<div id="root"></div>

View File

@@ -17,13 +17,26 @@ http {
server {
listen 80;
server_name localhost;
server_name efc-aduanasoft.com www.efc-aduanasoft.com localhost;
root /usr/share/nginx/html;
index index.html;
# Security headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
location / {
try_files $uri $uri/ /index.html;
}
# Gzip compression
gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_comp_level 6;
gzip_types text/plain text/css text/xml text/javascript application/javascript application/xml+rss application/json;
}
}

BIN
src/assets/aduanas_soft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
src/assets/intestino.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB