提交 e165c019 编写于 作者: 智布道's avatar 智布道 👁

修改 nginx 的配置文件

上级 15edb712
server { server {
listen 80; listen 80;
server_name 改成自己的域名; server_name 改成自己的域名;
root 改成自己的文件目录;; root 改成自己的文件目录;
location ^~ / { location ^~ / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
proxy_set_header Cookie $http_cookie; proxy_set_header Cookie $http_cookie;
proxy_set_header Host $host:$server_port; proxy_set_header Host $host:$server_port;
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册