-
-
Save pschichtel/6043159 to your computer and use it in GitHub Desktop.
How to configuration Redmine with puma and running on nginx (based on Gitlab's installation)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add config/puma.ruby | |
-------------------- | |
cd /home/redmine/redmine | |
sudo -u redmine -H curl --output config/puma.rb https://gist.github.com/quickwango/6043161/raw/fdfe2a865c3a0afe912c8784c971ea7ca3e64cfd/puma.rb | |
Install Init Script | |
-------------------- | |
Download the init script (will be /etc/init.d/redmine): | |
sudo curl --output /etc/init.d/redmine https://gist.github.com/quickwango/6043167/raw/fe35c2a55f616938e2a55586da43749315b49f5b/redmine | |
sudo chmod +x /etc/init.d/redmine | |
Make Redmine start on boot: | |
sudo update-rc.d redmine defaults 21 | |
Nginx - add config to default side | |
--------------------------------- | |
sudo curl --output /etc/nginx/sites-available/redmine https://gist.github.com/thanhhh/5610742/raw/862ed543ba4a46611c72cf7f29b5671046d93857/gistfile1.txt | |
sudo ln -s /etc/nginx/sites-available/redmine /etc/nginx/sites-enabled/redmine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment