Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

How do use port forwarding on nginx

$
0
0
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;
}

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>