Deploy nhanh
Hướng dẫn test trên VPS
Upload nguyên thư mục này lên server, trỏ web server vào thư mục chứa index.html.
-
Copy files
scp -r . user@YOUR_VPS_IP:/var/www/html/ -
Nginx (ví dụ)
server { listen 80; server_name _; root /var/www/html; index index.html; location / { try_files $uri $uri/ =404; } } -
Mở trình duyệt
Vào
http://YOUR_VPS_IP/. Nếu thấy trang này thì HTML đã được serve. Nếu CSS/JS load thì static files OK.