Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

3
Un-named virtual hosts resolving to named hosts
Post Body

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

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,618
Link Karma
910
Comment Karma
708
Profile updated: 5 days ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
8 years ago