Nginx 1.14 On UBUNTU 18.04 configure alias
This is simple example
location /webmail {
alias /usr/share/roundcube;
try_files $uri $uri/ /index.php;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
Comments
Post a Comment