Nginx Rewrite to Internal Server

nginx Dec. 22, 2015, 9:25 p.m.

server {
listen 80; ## listen for ipv4; this line is default and implied
server_name blablabla.resakse.com;

        access_log   /var/log/nginx/default.access.log;
        error_log    /var/log/nginx/default.com.error.log;
    location ~ ^/(.*)$ {
            proxy_pass        http://192.168.20.16:80/$1$is_args$args;
            proxy_set_header   Host blablabla.resakse.com;
            proxy_set_header  X-Real-IP  $remote_addr;
    }


}

I have multiple website on my different VM and I want to make it accesible from  outside without moving to my webserver, after a few trial and errors, I used this code as my nginx setting.

Any thoughts?