Area 1337
  • Home
  • About me
  • GitHub
Subscribe
Tagged

Apache

A collection of 1 post

VirtualDocumentRoot with Nginx
Nginx

VirtualDocumentRoot with Nginx

I recently upgraded our internal LEMP stack to use Nginx instead of Apache and one of the feature I missed was the VirtualDocumentRoot directive from a module called mod_vhost_alias to dynamically set the DocumentRoot like this: <VirtualHost *:80> DocumentRoot /var/www ServerName example.com UseCanonicalName Off

  • Pascal Meunier
Pascal Meunier Sep 8, 2019 • 1 min read
Area 1337 © 2023
Powered by Ghost