Skip to content

Commit

Permalink
更新 Docker 构建推送动作至 v6,并设置 Nginx 最大请求体大小为 100MB
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhao98 committed Feb 21, 2025
1 parent 9cab860 commit 5c10451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/frp-http-server:latest
Expand Down
1 change: 1 addition & 0 deletions rootfs/etc/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
server {
listen 80;
server_name ${FRP_SUBDOMAIN_HOST};
client_max_body_size 100m; # 设置最大请求体大小为100MB
default_type text/plain;
charset utf-8;
root /usr/share/nginx/html;
Expand Down

0 comments on commit 5c10451

Please sign in to comment.