Questions tagged [heroku]

Heroku (pronounced her-OH-koo) is a cloud platform for Ruby, Node.js, Clojure, Python, PHP and JVM-based (Java, Scala, etc.) applications that features a Git-based deployment strategy, a large number of services offered as add-ons, and a full API.

Heroku (pronounced her-OH-koo) is a cloud platform for Ruby, Node.js, Clojure, Python, PHP and JVM-based (Java, Scala, etc.) applications. It features, among other things:

Git-based deployment strategy

Applications on Heroku are managed with Git. Simply pushing your codebase to Heroku is all it takes to deploy your application.

Add-Ons

Heroku offers a growing number of add-ons via its add-on provider program. Additional services, such as error tracking and reporting, incoming and outgoing email services, hosted no-SQL databases and more is available via a few clicks or commands on the prompt.

Fully Managed, Multi-Tenant Architecture

Heroku's architecture is designed to keep your app running smoothly with minimal interaction on your part. The Heroku site has a detailed explanation of its architecture.

Full API

All of Heroku's functionality can be accessed from the command line (via the Heroku gem), including managing SSH keys, increasing or decreasing the number of dynos, managing SSL certificates, adding or removing add-ons, and more.

209 questions
4
votes
1 answer

Set $REMOTE_ADDR to real client IP

I am hosting a WordPress site on Heroku with Nginx. DNS is behind CloudFlare. My WordPress plugins reports Heroku IPs instead of real client IPs. I have the following Nginx rules: location / { try_files $uri $uri/ /index.php?$args; …
tangrufus
  • 141
  • 1
  • 1
  • 3
4
votes
2 answers

Redirect to HTTPS and Apex Domain with Nginx location Configuration

I would like to force HTTPS and the apex domain (e.g. https://example.com) in my application through nginx configuration using location blocks. I currently have the following nginx_app.conf file (which works with both the apex and the www subdomain,…
RayOnAir
  • 141
  • 1
  • 5
4
votes
1 answer

mongo as service error: Cannot determine state of server

I am trying to use mongodb as a service and started with heroku services ie dashboard.heroku.com/apps/scaleqamongo/resources. I tried multiple addons which they call like mongolab, mongohq. I create databases and then try to add that service…
raju
  • 267
  • 2
  • 3
  • 9
4
votes
1 answer

Can I redirect a Network Solutions apex domain to www for SSL connections?

I'm running a website on Heroku, with a custom domain name registered by my client through Network Solutions. The site runs over regular HTTP and SSL. Due to its distributed nature, Heroku requires custom domain names to point to its servers using…
Lonnon Foster
  • 141
  • 1
  • 4
4
votes
2 answers

How do I set up URL Rewriting to a Heroku instance?

I'm more of an engineer than a devops guy, so please excuse me if this is extremely basic. My situation: I have a server on the example.edu network, so I don't control the main DNS interface to example.edu. Therefore I don't believe I can use…
ramanujan
  • 141
  • 1
  • 3
4
votes
1 answer

Enable remote postgres access for heroku

I'm setting up my own postgres database to use with a heroku app (I don't wanna pay $200 a month just to have postgis, I don't need a huge database or anything, just postgis). I'm enabling remote access to my postgres database but it seems I have to…
4
votes
1 answer

Combining Heroku with custom external services (e. g. Varnish or Postgres on EC2)

I'm planning to set up a Django site on Heroku. It will run on Heroku's Cedar stack, which allows Python apps, but doesn't include or support HTTP upstream caching with Varnish like the other stacks do. It will be a very read-heavy site and I'd like…
mkai
  • 43
  • 2
4
votes
2 answers

Upgrading Zerigo DNS plan through Heroku failure

I'm hosting an app on Heroku and have a basic DNS plan with Zerigo. I tried to upgrade the Zerigo plan from "basic" to "tier 1" through the Heroku command line tool and received the following error: Hostname may not be assigned to both a CNAME and…
4
votes
5 answers

Redirect to www subdomain via DNS

Is it possible to set a DNS record to redirect all example.com/* traffic to www.example.com/*? I'm running a Sinatra app on Heroku's Cedar stack. I set up Heroku's Custom Domains addon, and the documentation discusses Redirecting Traffic to a…
ma11hew28
  • 799
  • 2
  • 9
  • 17
4
votes
2 answers

What is the technology behind Hostname Based SSL (multiple ssl vhosts on single IP)?

Well known PaaS provider Heroku offers multiple solutions to SSL problem. One of those is a product called Hostname Based SSL This is not SNI. They claim it works on every browser in any configuration but has other drawbacks, mainly (quoting the…
mdrozdziel
  • 784
  • 3
  • 8
  • 17
4
votes
2 answers

Need to link WP Blog with Rails App on Heroku

I have a client who wants to migrate his Rails app to Heroku. However the client also has a blog associated with his domain that runs on WordPress. Currently, the WordPress blog is running happily alongside the Rails app, but once we migrate to…
John Glass
  • 143
  • 1
  • 6
4
votes
2 answers

Allow ports on EC2 only for Heroku

I have some services - mysql, some HTTP services - which I would like to have open for Heroku exclusively. I can define IP adress / IP mask (I am not sure what it is in EC2 security groups). Which IP or mask fits only Heroku? I guess Heroku has more…
fifigyuri
  • 143
  • 1
  • 7
4
votes
5 answers

Hosting a Server Written in C++

I want to host a server program written in C++. What are the best/easiest hosting options out there for native apps? I know for Rails there are EngineYard and Heroku. Is there something similar for native apps? I've looked at Amazon EC2, but that…
Matt Fichman
3
votes
0 answers

Heroku CI: Run tests only on pull requests

I've used Travis for some time, and are now experimenting with Heroku CI for a one of our Rails projects. It works well, but it automatically runs the tests for all pushes to the GitHub repo. Ideally, I'd like to run tests only when a pull request…
port5432
  • 173
  • 2
  • 5
  • 17
3
votes
1 answer

Nginx reverse proxy for gunicorn - trouble passing basic auth credentials to server

I've setup nginx as a reverse proxy to gunicorn for a django site running on Heroku. I'm using Anymail for my mailing list, and it needs to receive basic auth credentials for webhooks (I don't actually need to set up basic auth, I just need to pass…
Lewy Blue
  • 151
  • 1
  • 7
1
2
3
13 14