VeryNginx
VeryNginx copied to clipboard
开启https后静态root目录的设置不起作用
设置root目录为/opt/apps/web; http访问正常,但是开启https 生成https证书时发现web目录不是/opt/apps/web ,而是/opt/verynginx/openresty/nginx/html
关于配置可以描述的更详细些,或者可否给出一个最小的可以让问题出现的配置文件呢
location / { root /opt/apps/web; index index.html index.htm; }
访问 域名,正常情况应该是访问的 root/index.html页面。但是其实是访问的/opt/verynginx/openresty/nginx/html下的index.html页面