feat: reestructuracion para easypanel y variables de entorno

This commit is contained in:
desoladorxx
2026-07-20 17:22:50 -05:00
commit 7f38210017
45 changed files with 8219 additions and 0 deletions

23
frontend/nginx.conf Normal file
View File

@@ -0,0 +1,23 @@
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
# Caché para recursos estáticos (CSS, JS, imágenes)
location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
root /usr/share/nginx/html;
expires 1M;
access_log off;
add_header Cache-Control "public";
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}