Warning: Undefined variable $html in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 240

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/lib/plugins/tabinclude/helper.php:240) in /usr/share/nginx/html/inc/Action/Export.php on line 106

Warning: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/lib/plugins/tabinclude/helper.php:240) in /usr/share/nginx/html/inc/Action/Export.php on line 106
proxy_pass

Proxy Pass

  • Ports

Simply redirect a domain to a port. For example, if you wanted to visit: lukeshirnia.co.uk:5050 you can use a sub domain with proxy pass do this on local host.

server {
        listen 80;
        server_name example.lukeshirnia.co.uk www.example.lukeshirnia.co.uk;

        location / {
                proxy_pass http://localhost:5050;

}
}