Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/nginx-solo-sample.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ http {
keepalive_timeout 5;
client_max_body_size <%= ENV['NGINX_CLIENT_MAX_BODY_SIZE'] || 1 %>M;

# Uncomment this if you like to force all requests to https
# if ($http_x_forwarded_proto != "https") {
# return 301 https://$host$request_uri;
# }

root /app/public; # path to your app
}
}