Search Results

Search found 1 results on 1 pages for 'ethree'.

Page 1/1 | 1 

  • nginx rewrite subdomain to file as a variable

    - by ethree
    How do you get the subdomain as a variable to add in a rewrite? should go to but still display as just I'm currently doing but would like to have Tumblr style domain names for users. rewrite ^/users/(.*)$ /user.php?u=$1 last; Also, if there are pages like /settings/ after the subdomain I'll need to rewrite to a settings.php

    Read the article