Files
pomodoro/nginx.conf
T
Puechberty Arthur b933c6040c feat: implement TodoList component with filtering and priority management
feat: add useAmbientSound hook for ambient sound management

feat: create useLocalStorage hook for persistent state management

feat: develop useTheme hook for theme switching functionality

feat: implement useTimer hook for Pomodoro timer logic

feat: create useTodos hook for managing todo list functionality

style: add global styles and custom scrollbar for better UI experience

chore: set up main entry point for the application

feat: define types for Timer, Todo, and Statistics

feat: create utility function for class name merging

chore: configure Tailwind CSS for styling

chore: set up TypeScript configuration for the project

chore: configure Vite for development and build process
2026-03-30 19:27:27 +02:00

22 lines
576 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Gzip compression
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml text/javascript;
# Cache pour les assets statiques
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# SPA fallback - redirige toutes les routes vers index.html
location / {
try_files $uri $uri/ /index.html;
}
}