mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
Update nginx.conf
This commit is contained in:
parent
92c6d32f2f
commit
4df2884d56
@ -5,6 +5,8 @@ server {
|
|||||||
|
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
|
proxy_set_header host $host; # 转发请求时将请求的域名一起转发
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user