Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing content? in Deploying a Ruby app on AWS production server #110

Open
nCubed opened this issue Sep 3, 2021 · 1 comment
Open

Missing content? in Deploying a Ruby app on AWS production server #110

nCubed opened this issue Sep 3, 2021 · 1 comment

Comments

@nCubed
Copy link

nCubed commented Sep 3, 2021

In the guide for Deploying a Ruby app on AWS production server:
https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/deploying_your_app/oss/aws/ruby/nginx/

Section 3.3 Edit Nginx configuration file:
https://www.phusionpassenger.com/docs/tutorials/deploy_to_production/deploying_your_app/oss/aws/ruby/nginx/#rails_edit-nginx-configuration-file

The docs state to use nano to open /etc/nginx/sites-enabled/myapp.conf and /etc/nginx/conf.d/myapp.conf.

And then immediately states: "Put this inside the file:" - but there is no information as to what to add in either of these files.

Do we just need to create empty .conf files? Or is there specific information we need to add, such as the ruby directory found in the prior section using $passenger-config about ruby-command

New to setting up a Ruby environment in a hosted environment. Any help here would be appreciated.

@a2k-hanlon
Copy link

Still unfixed, and this seems to be an issue in many different places. Here is another for example (see line 62, and the absence of any code included after it):

<% substep += 1 %>
<%= h3(id_prefix, "#{header_step}.#{substep} Edit Apache configuration file") %>
<div class="supported_debian_instructions">
<p>
We need to create an Apache configuration file and setup a virtual host entry that points to your app. This virtual host entry tells Apache (and Passenger) where your app is located.
</p>
<pre class="highlight"><span class="prompt">$ </span>sudo nano /etc/apache2/sites-enabled/<span class="o">myapp</span>.conf</pre>
<p>
Replace <code>myapp</code> with your app's name.
</p>
<p>
Put this inside the file:
</p>
</div>
<div class="supported_redhat_instructions">
<p>
We need to create an Apache configuration file and setup a virtual host entry that points to your app. This virtual host entry tells Apache (and Passenger) where your app is located.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants