updated nginx.conf - domain added to go live - aalai.ai

This commit is contained in:
2025-07-01 07:44:12 +00:00
parent 0c8d822dc5
commit d7d46f08d1

View File

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