This commit is contained in:
2025-07-01 13:16:00 +05:30

View File

@@ -1,14 +1,13 @@
server {
listen 3000;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri /index.html;
}
# Redirect 404 errors to index.html (for React Router)
error_page 404 /index.html;
server {
listen 3000;
server_name aalai.ai www.aalai.ai;
location / {
proxy_pass http://127.0.0.1:8300;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}