server { listen 80; listen [::]:80; server_name emailbot.gpt-business.app; location / { proxy_set_header Host $http_host; 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_pass http://unix:/run/emailbot.gunicorn.sock; } } server{ listen 80; listen [::]:80; server_name storage.gpt-business.app ; location / { proxy_pass http://localhost:3001; 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; } } server { listen 80; listen [::]:80; server_name cdn.gpt-business.app; # Replace with your domain or hostname location /chatgptbusiness.js { alias /home/enriquegptbusiness/chatbot/chatgptbusiness.js; # Replace with the full path to chatgptbusiness.js expires max; # Optionally set caching for this specific file add_header Cache-Control "public, max-age=31536000, immutable"; # Optionally set caching headers } # Block access to all other files location / { return 403; # Return a forbidden (403) status for any other requests } } NGNIX SITE ENABLED sudo ln -s /etc/nginx/sites-available/app.gpt-business.app /etc/nginx/sites-enabled/app.gpt-business.app sudo ln -s /etc/nginx/sites-available/controlpanel.gpt-business.app /etc/nginx/sites-enabled/controlpanel.gpt-business.app sudo ln -s /etc/nginx/sites-available/emailbot.gpt-business.app /etc/nginx/sites-enabled/emailbot.gpt-business.app sudo ln -s /etc/nginx/sites-available/cdn.gpt-business.app /etc/nginx/sites-enabled/cdn.gpt-business.app sudo ln -s /etc/nginx/sites-available/storage.gpt-business.app /etc/nginx/sites-enabled/storage.gpt-business.app GALT HONE PAR REMOVE KAR DO sudo rm -r controlpanel.gpt-business.app sudo rm -r emailbot.gpt-business.app sudo rm -r cdn.gpt-business.app sudo rm -r storage.gpt-business.app