onlyrickroll commited on
Commit
799036e
·
verified ·
1 Parent(s): ce699bf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -13,6 +13,8 @@ RUN echo 'server { \
13
  root /usr/share/nginx/html; \
14
  index index.html index.htm; \
15
  try_files $uri $uri/ /index.html; \
 
 
16
  } \
17
  }' > /etc/nginx/conf.d/default.conf
18
  # 复制 Cloudflared 配置
 
13
  root /usr/share/nginx/html; \
14
  index index.html index.htm; \
15
  try_files $uri $uri/ /index.html; \
16
+ default_type text/plain; \
17
+ return 200 'Hello World'; \
18
  } \
19
  }' > /etc/nginx/conf.d/default.conf
20
  # 复制 Cloudflared 配置