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

How do I handle wildcard subdomains intelligently?

$
0
0
Obviously there are certain important exceptions that I wish to be able to specify, but for regular users on the system, I want to serve files, and perhaps enable php-fpm or the like, at the domain

* https://[username].colmena.biz/

from the user's web directory

* /home/[username]/public_html/

I am not quite sure how to do this. At some time and place there was an "suphp" module that restricted php users to running processes under their own username, but I do not know if anything similar is available with php-fpm, not that I'm stuck on PHP. I am mainly looking for ideas. Perl or other languages might be fine, too.

Viewing all articles
Browse latest Browse all 4759

Trending Articles