4
votes
Accepted
Using Route53 to point apex/root domain to Heroku application
Alias record are not an actual DNS record type -- they are pointers to other records within Route 53, so the target of an Alias record can only be an S3 bucket, an Elastic Load Balancer, a CloudFront ...
4
votes
Accepted
How to properly add a domain to Heroku
This is a very common misconception. A CNAME doesn't perform HTTP redirection nor create an alias to the web server. It simply tells that the DNS A record can be found elsewhere.
The web server only ...
3
votes
Is it a bad idea to use google cloud storage on heroku deployed projects?
Yes, the traffic would be routed over the internet. I would be more worried about the network pricing than performance, unless you have very high performance requirements.
Both AWS and GCP have free ...
3
votes
How do I configure a naked domain name to work using Heroku's SSL endpoint?
Root domains on Heroku require the use of ALIAS ANAME or FLATTENING records.
Unfortunately, a number of popular DNS hosts such as GoDaddy, Bluehost, Google Domains, OVH, Hostinger and others do not ...
3
votes
Install wkhtmltopdf on heroku
Use: https://github.com/tutorcruncher/pydf
It just works, we use it to generate tens of thousands of PDFs each month, both on heroku and on dockerized deployments.
Unlike the buildpack based ...
3
votes
Accepted
Too many redirects
While the DNS records were identical for each URL, the crypto settings (https://www.cloudflare.com/a/crypto/<your_url>) were not. The working URL had full SSL while the non-working one had ...
2
votes
Not seeing Django logs on Heroku
In the python-getting-started app, for a log that isn't tagged django, ERROR level logs show up in heroku logs, but INFO logs don't.
To make it work for logs that aren't tagged django, it needs a ...
2
votes
Configure Squid as an HTTPS forward proxy?
You can see how it's done in this small Docker image: yegor256/squid-proxy. The problem with your code is that the configuration goes after the acl instruction. Just swap them and it all starts ...
2
votes
Accepted
Nginx proxy doesn't work as expected
You need to check the page where the form is located, and see what is the URL where it makes the POST request in it.
If that is http://katalog.domain.eu:8052, you need to change the application ...
2
votes
Accepted
How instant are Heroku IP changes with Cloudflare CNAME flattening compared to regular CNAMEs? How likely to happen?
It is actually possible to enter in a custom DNS TTL into Cloudflare (when adding a DNS record); it is however right to say that there will be some DNS Recursors that unfortunately will not respect ...
2
votes
Accepted
nginx reverse proxy redirect between two heroku server
You can have the following location blocks:
location ~ /blog(/.+)$ {
proxy_pass http://blog.herokuapp.com$1;
}
location / {
proxy_pass http://myapp.herokuapp.com;
}
2
votes
Heroku Whitelisting
Not 100% sure if I understood your question, but it seems similar to this question from Heroku Help.
From their answer:
The IPs in use by Heroku at any given time are highly dynamic, meaning
...
2
votes
Https version of web application is not working but http is?
According to Heroku Dev Center Custom Domain Names for Apps there's a different pattern for TLS hostnames:
If you’re using the SSL Endpoint, note that your DNS Targets will be a
little different. ...
2
votes
Accepted
Heroku and Godaddy don't want working together
First, you need to set up the non-www variant of the domain to the www variant. GoDaddy has something for this (just make sure you're doing it only to the non-www record): https://ph.godaddy.com/help/...
1
vote
flask, gunicorn (gevent), sqlalchemy (postgresql): too many connections
You mention:
worker connections = 1024
threads = 1
but with gevent, the number of worker connections is the total number of (asynchronous) threads running at once.
As a result, you're trying to ...
1
vote
Accepted
Heroku app.json configuration not working for review app
in-dyno means a Postgres instance won't be attached - it'll be directly within the dyno itself. Not seeing errors in the build log would, thus, be normal.
1
vote
Azure blobs vs Heroku type storage
The thing is as far as I can tell with Heroku I can just make my app, upload the files to the server using the fs module and then save that path to my DB.
You can, but those files will go away a) on ...
1
vote
Accepted
Terraform Heroku Automated Certifcate Management
Heroku's automated certificate management feature can be enabled for your app by setting the acm flag. Looks like this field is a boolean and would be set to true. See https://www.terraform.io/docs/...
1
vote
Nginx reverse proxy for gunicorn - trouble passing basic auth credentials to server
OK, I found the problem - I've been testing on this on Chrome and Firefox by typing foo:[email protected]/authtest into the URL bar.
Turns out that recently these browsers have started to silently ...
1
vote
Second level domain names on Heroku with Cloudflare and TLS support
The issue was that I was creating origin certificate (free feature) - not edge certificate.
To make second domain level work you need to turn on Dedicated SSL Certificate with Custom Hostnames (paid ...
1
vote
Accepted
Second level domain names on Heroku with Cloudflare and TLS support
I put your third level subdomain into the SSL Shopper SSL Checker. It says no SSL certificate is being presented at all for that domain. So the answer I have for you is your web server isn't sending ...
1
vote
Accepted
How to flush mysql remote hosts cache?
You have to run the command from a machine that is not already blocked. It doesn't need to be the local machine (which is impossible from RDS, anyway). The mysqladmin utility is nothing more than a ...
1
vote
Nginx config best practises for reverse proxying 3 different type of apps
From the point of view of nginx you can add a rule to manage the in-memory lifespan of static files alongside in-browser caching with something like this:
location ~* ^.+\.(ogg|ogv|svg|svgz|css|js|...
1
vote
.htaccess remove php file extension not working only on heroku
This is supposed to remove .php file extensions
Well, strictly speaking, this code is intended to add the .php file extension back again (in order to route the URL). (You've already "removed" it by ...
1
vote
Install wkhtmltopdf on heroku
Have you tried the one found on the Heroku pages? https://elements.heroku.com/buildpacks/homelight/wkhtmltox-buildpack
1
vote
Comparing Heroku Postgres and Amazon RDS
It depends on how you view the ease vs cost trade-off. I've found that, very roughly, it's half the cost for HA Postgres Databases in RDS vs those in Heroku.
The cost of Standard-0 is $50/month and ...
1
vote
Can't login to heroku through firewall
I was also facing this issue because of my organization's firewall. Solution is to simply download and install the organization's certs.
Once you have your organization's specific ".cer" ...
1
vote
How common is it to block outbound TCP connections or restrict to known external service ports (ie. 22, 80, 443, 3306, etc.)?
This question may get flagged as being too opinion based, but until it does-
My opinion, without knowing more details, is that a custom port is a major obstacle, not necessarily in the sense that it ...
1
vote
How to mitigate DOS attack on Heroku
Put CloudFlare or similar in front of your instance and block traffic at the firewall level that doesn't come from CloudFlare or your own IP. CF will absorb or deflect most DOS attacks. I don't know ...
1
vote
Accepted
Migrate an SSL certificate from Heroku
If the domain name is staying the same, you can use the same key and certificate chain.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
heroku × 210domain-name-system × 54
ssl × 24
amazon-ec2 × 16
nginx × 13
amazon-web-services × 13
cname-record × 13
ruby-on-rails × 12
godaddy × 11
django × 8
ssl-certificate × 7
reverse-proxy × 7
logging × 7
redirect × 7
cloudflare × 7
email × 6
postgresql × 6
subdomain × 6
rsyslog × 6
amazon-route53 × 6
apache-2.2 × 5
mysql × 5
mod-rewrite × 5
python × 5
node.js × 5