nginx 如何运行 html

nginx 如何运行 html


BIG阳
浏览 3487回答 2
2回答

HUH函数

1、在启动nginx之前,打开nginx.conf配置一下你的工程目录,比如:123456789server {        listen       8000;        server_name  saveimage  alias  another.alias;        location / {            autoindex on;            root   "D:\site";            index  index.html index.htm;        }    }然后启动nginx就可以运行html了;2、Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 服务器。  
打开App,查看更多内容
随时随地看视频慕课网APP