1
vote
2answers
33 views

Redirect all URLs to a single URL

I have a machine foo00 whos CNAME is foo. With nginx I can access my site from the following URLs: foo/ foo00/ foo.domain.local/ foo00.domain.local/ How can I configure nginx so that all are ...
1
vote
1answer
35 views

nginx SSL with bare domain and wildcard

This is turning out to be an annoying problem that I'm hoping someone can help me with. To start, I run my own CA, so I'm doing self-signed certs; I can do anything I need with them using openssl. I ...
0
votes
1answer
21 views

Nginx load balancing based on vhosts

Well, I've a setup with 1 load balancers and 2 backends (with nginx). They are both serving two website, beta.xxx.fr and xxx.fr. I want my load balancer to serve both websites. Have you got any idea ...
0
votes
1answer
69 views

ClamAV not installed. ClamAV is already installed

Re-Edit: After lots of Googling, lots of tracing, lots of tinkering with the nginx.conf & /vhosts - It came down to an error message saying ClamAV was not up to date. Running clamscan told me ...
1
vote
1answer
68 views

trying to setup vhost in nginx, domain pointing to default

So I'm trying to learn some web server configuration stuff. I've successfully installed nginx with php, and so on. I was in the process of trying to point my domain to my VPS, and that portion is also ...
1
vote
1answer
227 views

Regular expressions in server_name with Nginx vhost

I have something I'm trying to do with Nginx. Say I have a few users and a subdomain, and each user has a directory at /home/dev/sites/USER_ID. I would like for USER_ID.dev.example.com to point to ...
-1
votes
2answers
72 views

nginx vhost location parameters [closed]

I just transfered a website to a new server; here is my sites conf (vhost) in nginx and the last 2 entries from error.log . The images are not displaying when the index.php loads. regars, server ...
0
votes
1answer
66 views

Make Nginx point to vhost when visiting server via its IP address

I have a newly set up VPS running Nginx on Ubuntu. Currently when I visit my server's IP (e.g. http://123.123.123.123) it shows the contents of /usr/share/nginx/www. My only vhost (mydomain.com) is ...
2
votes
3answers
1k views

Dynamic nginx domain root path based on hostname?

I am trying to setup my development nginx/PHP server with a basic master/catch-all vhost config so that I can created unlimited ___.framework.loc domains as needed. server { listen 80; ...
0
votes
0answers
51 views

Nginx reload vhost mismatch

Edit: Looks like this has nothing to do with nginx reload. I disabled the cron and still facing this issue. It's just randomly. Anybody an idea? I have an nginx setup that has around 460 vhosts (all ...
2
votes
0answers
225 views

nginx 2 symfony2 web application, one ip no domain

I have irritating with nginx. I set up in /usr/share/nginx/www/firstapp one application and in /usr/share/nginx/www/secondapp. in my default conf i setup that in / root localization i want first ...
1
vote
1answer
140 views

uWSGI and Nginx python file handling

I've been trying to figure out how to propertly utilize uWSGI with Nginx and have hit a bit of a design roadblock. I'm trying to figure out how my python files should be accessed via uWSGI. I've been ...
1
vote
1answer
338 views

NGINX Multi Server - Second Server Always Going to First Server

I have just installed nginx with php5-fpm and got everything running fine with a single vhost server. I just went to add a secondary server for a wordpress install (different domain name) and when i ...
0
votes
1answer
695 views

Nginx: Run fastcgi process under individual owners, like suexec on Apache?

I've had issues with Apache 2 on my server of which I had an Apache2-worker/php-fpm setup and am migrating to Nginx. I've followed various guides to set up the wrapper script for fastcgi spawning ...