Prepare server deployment

This commit is contained in:
2026-05-12 16:21:00 +07:00
parent ac2cfca335
commit 713bfbcbb9
9 changed files with 120 additions and 16 deletions

View File

@ -0,0 +1,19 @@
server {
listen 80;
listen [::]:80;
server_name wa.iptek.co;
client_max_body_size 10m;
location / {
proxy_pass http://127.0.0.1:3007;
proxy_http_version 1.1;
proxy_set_header Host $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_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 60s;
}
}