This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey all. thought I would build my new server using Nginx rather than the old standard. I am having a small problem. I am running Nginx on Ubuntu 14 LTS and I have virtual hosts enabled. They are working with one small glitch I am having an issue isolating where the root of the problem is. So far, I can resolve a specified virtual host name as specified in the config and enabled, but any name I did not specify will also resolve to the (assumed) last enabled hostname.
For example, if I have a server_name that says server_name exampledomain.com; and no "Listen" config defined... I expected it to resolve that exact address to the configured host. If this is my only VH configured then all addresses will resolve to this. If I have others it picks one (the last configured?) to serve for any name. Any ideas where I should be looking to disable this "feature" and only resolve specified names
Thanks in advanced.
J
Subreddit
Post Details
- Posted
- 8 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/nginx/comme...