Last active
January 29, 2024 10:59
-
-
Save iammehrabalam/ed697ec7e2471665dd015c6bb7514486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name default_server; | |
listen 80; | |
location / { | |
proxy_pass http://localhost:8080; | |
proxy_set_header X-Real-IP $remote_addr; | |
client_max_body_size 5m; | |
client_body_buffer_size 5m; | |
set $max_chunk_size 10240; | |
set $max_body_size 524288; | |
rewrite_by_lua_file /etc/nginx/decompress_body.lua; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment