Multiple SSL certificate for a multiple domain in a multi-tenant application.

3
Servers
How do I configure ssl certificate for multiple domain. Deployed application using this guide "Deploy Ruby On Rails: Ubuntu 20.04 Focal Fossa in 2020".
Chris Oliver replied

Hatchbox: How do I point a Godaddy Domain to a wildcard sub-domain?

3
Servers
I run my app on Hatchbox, and have successfully created subdomains for each user. E.g. user1.myapp.com user2.myapp.com user3.myapp.com etc. How do I point user 2's own website (two.com) to user2...
Alex Ventura replied
Solved

Deploy rails project using subdirectories

1
Servers
deploy the existing project with sub-directory without any change in project routes. For example: project should run on https://domain.com/myproject/home instead of https://domain.com/home need to ...
Alexey Poimtsev replied

How do I execute a sudo command over SSH?

1
Servers
I'm building a portal to manage our server farm. I need to create an SSH connection and then execute some commands (bash scripts) however this commands block the SSH process sudo -u deployer -H bas...
sacara replied

Running Yarn offline

0
Servers
I have a production server Running Rails 6 (latest version) that is extremely locked down. I don't manage the infrastructure surrounding (firewalls, IPs, etc...) the server. Only a few things are a...
Mountaindog posted

Address already in use for headless browser

0
Servers
I use Watir and headless Firefox/Chrome to scrape a website deployed with Hatchbox: def perform(uid_number) pool = RandomPort::Pool.new #random_port gem to generate a free port port_number = poo...
Turtle posted

How do I configure Rails to use a Proxy URL

0
Servers
Let's say we have a Rails project operating on the domain https://hello.world.com. The way the organization's infrastructure is set up, https://hello.world.com gets proxied into a new URL called -...
Mountaindog posted
Solved

SMTP not relaying SMS text messages

0
Servers
Heya guys, thanks in advance for any assistance on this. I'm getting a weird behavior that just started happening last month. I have a MS Server 2019 (on premise VM) that is setup as a SMTP relay. ...
chetan98 posted

Having problems getting SSL cert w/Rails app from guide:

0
Servers
Hi, I was following this guide - https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypt - and i got past the error of ```Package 'python-virtualenv' has no installation cand...
Ryan V posted

Hatchbox deployment. public/index.html not found

5
Servers
Hi, I am deploying to hatchbox and everything appears fine until i load the site up in the browser. Looking at the logs there is no public/index.html. On my development environment there is also n...
Chris Oliver replied

Serving Assets on Nginx + Passenger Production Deployment

1
Servers
Not sure if I picked the correct category, but I'm having trouble getting Nginx to serve the assets when in production. Most of the tutorials/forums I find are for older versions of Rails, and none...
Axel Kee replied

Would love an episode on setting up AnyCable on Heroku

2
Servers
AnyCable is the best approach for scaling ActionCable above 500 connections. Requires an extra server on Go. https://www.reddit.com/r/rails/comments/90z2h3/scaling_actioncable_on_heroku_in_2018/ ...
Andrei A replied

What's a good way for upgrading a server?

4
Servers
I have an internal application that is running fine now, but I need to upgrade the version of Ubuntu Server on it. I have put this off wayyyy too long. Essentially I have a "VMWare box" on the co...
Chris Oliver replied
Solved

How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?

1
Servers
So I've set myself up with Hatchbox on DigitalOcean. I don't think I want to deploy seperate environments on the same server. But if I create an entirely seperate cluster I am afraid of racking up ...
Chris Oliver replied

How do I protect myself against brute-force attacks when using Cockpit server administration?

0
Servers
When using Cockpit, I feel that it opens up a big vulnerability as the browser login allows unlimited attempts to login. Once the brute-force is successful, the attacker will be able to run command...
Yi Mei Wang posted

Deploy Ruby project on Ubuntu 18.0

1
Servers
Hi, I am referring the doc "https://gorails.com/deploy/ubuntu/18.04#nginx" for deploy the project. After running the command "cap install STAGES=production" I got error list : LoadError: cannot loa...
bhavya replied

How do I know how many threads does my app need?

0
Servers
I'm working on an app that does serves http but also has some parts where ActionCable is used. How do I know how many threads does my app need? Is there a rough number? How does websocket occupy t...
Yi Mei Wang posted

Problem deploy with Capistrano

1
Servers
HI! Deploying with Capistrano is a continuous challenge. After overcoming a few bugs, now I am stock with the following error. Any idea? PLEASE! INFO [1fd8e2f6] Running $HOME/.rbenv/bin/rbenv e...
Bina Darabzand replied

Followed the deploy instructions; nginx throwing a 500 for rails app

0
Servers
I'm not sure what happened, but I had a production environment/config working with nginx/passenger deployed on Digital Ocean. I am not seeing errors in log files, but nginx is throwing a 500 when I...
Matt Bjornson posted
Solved

How do i deploy NGINX with passenger without installing rails?

3
Servers
I am using NGINX as a reverse proxy is there a simpler way to get installed besides for this tutorial? https://gorails.com/deploy/ubuntu/18.04
Chris Oliver replied

Want to stay up-to-date with Ruby on Rails?

Join 88,697+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.