Working React 19 before Compiler integration
🚀 Phase 2 Complete - React 19 Foundation - React upgraded: 18.2.0 → 19.0.0 ✅ - MUI upgraded: 5 → 6 ✅ - React Router upgraded: 6 → 7 ✅ - All packages updated and working ✅ - Production build: 995KB bundle ✅ - All containers working ✅ Ready for Phase 3: React Compiler integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -9,9 +9,35 @@ http {
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# HTTP server - redirect to HTTPS
|
||||
server {
|
||||
listen 3000;
|
||||
server_name localhost;
|
||||
server_name motovaultpro.com *.motovaultpro.com localhost;
|
||||
|
||||
# Redirect all HTTP traffic to HTTPS
|
||||
return 301 https://$host:3443$request_uri;
|
||||
}
|
||||
|
||||
# HTTPS server
|
||||
server {
|
||||
listen 3443 ssl http2;
|
||||
server_name motovaultpro.com *.motovaultpro.com localhost;
|
||||
|
||||
# SSL certificate configuration
|
||||
ssl_certificate /etc/nginx/certs/motovaultpro.com.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/motovaultpro.com.key;
|
||||
|
||||
# Modern SSL configuration
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_timeout 10m;
|
||||
|
||||
# Security headers
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
add_header X-Frame-Options DENY always;
|
||||
add_header X-Content-Type-Options nosniff always;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
@@ -28,6 +54,7 @@ http {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Port $server_port;
|
||||
}
|
||||
|
||||
# Enable gzip compression
|
||||
|
||||
Reference in New Issue
Block a user