Skip to content

Instantly share code, notes, and snippets.

@khoimm92
Created August 10, 2021 13:23
Show Gist options
  • Save khoimm92/82a95523ff41356d0d3ccfdae75e0f2f to your computer and use it in GitHub Desktop.
Save khoimm92/82a95523ff41356d0d3ccfdae75e0f2f to your computer and use it in GitHub Desktop.
Rails + Nginx Reserve proxy development
# config/env/development.rb
config.assets.debug = false
# NGINX, etc/nginx/nginx.conf http directive
proxy_buffering off;
client_max_body_size 128M;
proxy_max_temp_file_size 0;
server_names_hash_bucket_size 256;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment