Welcome! Log In Create A New Profile

Advanced

How do use port forwarding on nginx

Posted by bright.hammer 
How do use port forwarding on nginx
February 13, 2013 12:09PM
Hi, I am new to nginx so please be patient with me. I have a vm linux server setup on my home network for testing. I was able to run a web server and view the site via my dyn-dns address (me.home.com) using apache and see the site remotely. Now with nginx I cant so can someone help me out?

Home router ports – external 91 forwards to internal 80

At home – I can view the test site via port 80 on the internal network no prob.

At work – I connect to my test site(me.home.com:91) all I see is the welcome to nginx default site.

server {
listen 80;
server_name 192.168.0.180 localhost me.home.com;
root /var/www/drupal;


index index.php index.html;

location = /favicon.ico {
log_not_found off;
access_log off;
}

location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready