Update nginx.conf
This commit is contained in:
@@ -4,6 +4,8 @@ server {
|
||||
listen 80;
|
||||
|
||||
server_name localhost;
|
||||
|
||||
proxy_set_header host $host; # 转发请求时将请求的域名一起转发
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
Reference in New Issue
Block a user