Update nginx.conf

This commit is contained in:
MaxKey 2022-05-28 22:08:56 +08:00
parent 92c6d32f2f
commit 4df2884d56

View File

@ -4,6 +4,8 @@ server {
listen 80; listen 80;
server_name localhost; server_name localhost;
proxy_set_header host $host; # 转发请求时将请求的域名一起转发
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;