简体   繁体   中英

Linking webserver directory from one OS to another OS

I have dual OS on my laptop installed (Ubuntu and Windows 10).

I want to keep two webservers synchronized, is it possible to make Nginx in Ubuntu to use the web directory in Windows (lets say P1) instead?

I'd tried to change the directory to P1, what I've got is an 500 Internal Error, but it works fine if I change it back to the default /var/www/html (already chmoded permissions to P1)

Why you do not think as "Use linux directories in windows?". Try to install something like http://www.paragon-drivers.com/extfs-windows/ and use linux directories from windows

您需要在Ubuntu上挂载Windows分区,并将该目录设置为文档根目录。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM