nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

learn more… | top users | synonyms

2
votes
2answers
575 views

what if set x.domain.com and y.domain.com to the same ip address in DNS?

if I set x.domain.com and y.domain.com to the same ip address, Does it mean Nginx couldn't tell the differences between x.domain.com and y.domain.com? Is it impossible to map x.domain.com and y....
24
votes
5answers
21k views

How do I start nginx on port 80 at OS X login?

I installed Nginx using homebrew and after completing the installation the following message was displayed: In the interest of allowing you to run `nginx` without `sudo`, the default port is set to ...
4
votes
1answer
14k views

Make nginx reverse proxy 302 redirect to a URI sub-folder instead of root

I have a web server on my LAN with the URL https://10.0.0.22 and I am trying to access it from the internet through an nginx reverse proxy with a URL like https://domain.com/my/web/app. The ...
8
votes
4answers
4k views

Mac firewall blocking nginx (port 80) from external side

I installed nginx using ports and started it with sudo. Accessing the nginx welcome page from localhost works perfectly, however accessing it from an external computer fails. Doing an nmap on the ...
3
votes
1answer
2k views

Why can't nginx access puma socket on CentOS 7?

So I have a Ruby on Rails app in /var/www/ owned by nginx with 755 permissions. Said app is intended to be deployed via puma. Like so: rvmsudo -u nginx bundle exec puma -e production -d -b unix:///...
1
vote
1answer
3k views

Host multiple website using nginx on the same IP [duplicate]

I've set up a Raspberry Pi to act as web server, so I've installed nginx with php5 and I bought two domains: domain1.co.uk Domain2.it I have a static IP which is linked to these two domains, so if ...
1
vote
4answers
839 views

Quick SSH proxy or routing?

I have experience with using nginx to proxy sites with the proxy_pass directive. Is there something similar I can do with SSH? Here's my home network with my machines and their hostnames: &...
0
votes
1answer
4k views

nginx -v command not found

I successfully installed nginx ~ but when I use nginx -v command, it show : nginx: command not found what the problem?
0
votes
1answer
422 views

How to show file in browser instead of downloading?

I'm using Owncloud (behind Nginx) to share a file. When I generate a share link, the link points me to the download page or if I append "&download", it immediately starts downloading the file. ...