Comments (1)
You will probably want to look at installing phusion passenger, they the ruby server will run as an apache module. Here is what i did on Centos 6:
yum install httpd curl-devel httpd-devel
gem install passenger
passenger-install-apache2-module
vi /etc/httpd/conf/httpd.conf
Paste in
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.28/buildout/apache2/mod_passenger.so`
<IfModule mod_passenger.c>
PassengerRoot /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.28
PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby
</IfModule>
Finally create a new VirtualHost entry in /etc/httpd/conf.d/
<VirtualHost *:80>
DocumentRoot /opt/staytus/public
ServerName [put your server name here]
CustomLog /opt/staytus/log/access_log combined
ErrorLog /opt/staytus/log/error_log
<Directory "/opt/staytus/public">
AllowOverride All
Options -MultiViews
</Directory>
</VirtualHost>
from staytus.
Related Issues (20)
- Gemfile.lock blocks all installations and upgrades HOT 2
- Does staytus supports SSO login using OKTA
- Manteinances API Get endpoint HOT 1
- Ability to select subscribers when posting issue/maintenance HOT 1
- Private status pages and incidents
- mysql2 & MariaDB 10.5 Compatibility HOT 1
- Health Check
- How to install Staytus with Dokku
- Feature Request - Web Hooks
- Replace Google Fonts with self-hosted versions HOT 1
- [Feature Request] Password Resets
- Undefined method `arity'
- demo.staytus.co - Let`s Encrypt certificate expired on Sun, 03 Jul 2022 HOT 2
- environment.yml produces 502 Bad Gateway HOT 2
- Website not redirecting to https
- https://demo.staytus.co/ has no valid SSL Cert
- Status won't update with issue
- NoMethodError: undefined method `arity' for {:polymorphic=>true, :optional=>true}:Hash
- BCrypt::Error::InvalidHash in Setup Progress Admin User Creation HOT 1
- Some question
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staytus.