Hướng dẫn tạo Reverse Proxy trên Apache

Cập nhật ngày 05/02/2025
Lượt xem: 46

Sử dụng .htaccess

DirectoryIndex disabled

RewriteEngine On

RewriteRule "^/?(.*)" "http://localhost:XXXX/$1" [P]

Thay XXXX thành port bạn muốn.