try again

This commit is contained in:
2025-03-16 15:31:11 +08:00
parent 4fd8a637a6
commit 16f786c6e2
5 changed files with 39 additions and 2 deletions

17
oil-app.conf Normal file
View File

@@ -0,0 +1,17 @@
# Add this to your server's Nginx configuration
server {
listen 3010;
server_name 134.209.158.35;
location / {
proxy_pass http://localhost:3000;
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;
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;
}
}