Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 配置
|