Category Archives: urlrewrite

browser shortcut with nginx and DNS

OS: Ubuntu DNS /etc/hosts 127.0.0.1 foo Nginx in sites-enabled/default if ( $host = wiki ) { rewrite ^ https://wiki.example.com; }

Posted in nginx, urlrewrite | Leave a comment