Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

reloading nginx with tons of virtual hosts

$
0
0
Hi guys,
I'm having some strange behaviour with nginx. I've a website which provides services across multiple third level domains (something like sitea.example.com, siteb.example.com and so on)

The file with server aliases is created dynamically and nginx reloaded with a cron job.

I noticed that a simple "reload" is not enough to tell to nginx to reload (and eventually create) the file with new aliases.

I use a simple "include" in the server section, that points to the file with aliases.

Any ideas/suggestion?

Thank you

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>