Thứ Năm, 14/08/2025
Loading...
  • Login
Hoàng Giang Nam Blog
  • Home
  • WordPress
    • WordPress
    • Woocommerce
  • Windows
  • Office
  • Phần Mềm
  • Thủ thuật
  • Linux
    • Ubuntu
    • CentOS
    • VPS – Server
    • Web Server
No Result
View All Result
Hoàng Giang Nam Blog
  • Home
  • WordPress
    • WordPress
    • Woocommerce
  • Windows
  • Office
  • Phần Mềm
  • Thủ thuật
  • Linux
    • Ubuntu
    • CentOS
    • VPS – Server
    • Web Server
No Result
View All Result
  • Login
Hoàng Giang Nam Blog
No Result
View All Result
Home Web Server
Fix lỗi 413 Request Entity Too Large

Fix lỗi 413 Request Entity Too Large

admin by admin
19/12/2024
Share on FacebookShare on Twitter

Hướng dẫn fix lỗi: 413 Request Entity Too Large

để ý mấy dòng này nhé:

keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 10240M;

điều chỉnh lại cho phù hợp nhu cầu của bạn.

a 413 request entity too large error in a browser window

nano /etc/nginx/nginx.conf

user www-data;
worker_processes auto;
pid /run/nginx.pid;

# Include additional configuration modules
include /etc/nginx/modules-enabled/*.conf;

events {
    worker_connections 768; # Maximum connections per worker
    # multi_accept on; # Uncomment to enable multi_accept
}

http {
    ## Basic Settings
    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 650;
    types_hash_max_size 20480;
    client_max_body_size 99964M;

    # Uncomment these lines if needed
    # server_tokens off;
    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    # MIME types
    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ## SSL Settings
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Enable supported TLS versions
    ssl_prefer_server_ciphers on; # Prioritize server's cipher preference

    ## Logging Settings
    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;
}

 

 

Tags: Fix lỗi 413Nginx
admin

admin

Next Post
Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

Please login to join discussion

Recommended.

Gửi cho người dùng WordPress một liên kết để đăng nhập bằng email thay vì sử dụng mật khẩu

01/01/2025
Cài đặt LEMP + TOR với tên miền .onion

Cài đặt LEMP + TOR với tên miền .onion

01/01/2025

Trending.

HuananZhi X79 / X99 Motherboard BIOS POST codes

HuananZhi X79 / X99 Motherboard BIOS POST codes

01/01/2025
Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

19/12/2024
Cấu trúc template của Woocommerce

Cấu trúc template của Woocommerce

19/12/2024
Hướng dẫn xử lý lỗi gõ tiếng Việt cực khó chịu trên thanh địa chỉ Google Chrome

Hướng dẫn xử lý lỗi gõ tiếng Việt cực khó chịu trên thanh địa chỉ Google Chrome

19/12/2024
CSS cuộn hình ảnh khi rê chuột vào hình ảnh

CSS cuộn hình ảnh khi rê chuột vào hình ảnh

01/01/2025
Hoàng Giang Nam

Blog chia sẽ kiến thức lập trình, source code, themes, plugin, phần mềm & thủ thuật máy tính...

Follow Us

Danh mục

  • CentOS
  • Chung
  • Server Email
  • Thủ thuật máy tính
  • Ubuntu
  • VPS – Server
  • Web Server
  • Windows
  • Woocommerce
  • Wordpress

Recent News

Disable Web Search Results in Windows 10/11 Start Menu

16/01/2025
Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

Hướng dẫn lấy Client ID + Client Secret + Refresh Token Google Drive API

19/12/2024
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2024 Hoanggiangnam.com

No Result
View All Result
  • Home
  • Phần Mềm
  • Thủ thuật máy tính
  • WordPress
  • Ubuntu
  • Office
  • Photography
  • Windows

© 2024 Hoanggiangnam.com

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Click to Copy