Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i have a server where is a control panel installed, with about 100 webpages/domains. It doesnt support nginx, so i want to install nginx as reverse proxy. But how can i configure, that uses a central nginx configuration, so i dont need to create virt. conf vor every domain?

Can i use this tutorial: http://www.dikant.de/2008/07/10/nginx-as-a-reverse-proxy-for-apache/

thank you.

share|improve this question
Why do you want to do this? –  EEAA Jul 18 '13 at 16:17

1 Answer 1

Just use wildcard (*) for 'ServerName' value and that's all IMHO. All requests will go through NginX (because you have wildcard) and look for Apache VirtualHost configuration.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.