mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-06 17:08:29 +08:00
Update nginx.conf
This commit is contained in:
parent
92c6d32f2f
commit
4df2884d56
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user