Configure Reverse Proxy Apache dan Nginx

Apache

apt-get install apache2
a2enmod Proxy
a2enmod Proxy_http
nano /etc/apache2/sites-available/000-default.conf << matikan semua konfigurasinya dan buat baru
<VirtualHost *:80>
    ServerName [IP VPS]

    ProxyPreserverHost On
    ProxyPass / http:[ip server nas]:80/
    ProxyPassReverse / [ip server nas]:80/ 

Nginx

apt-get install nginx
nano /etc/nginx/nginx.conf
location /node01 {
    Proxy_pass http://[ip server nas]
}