středa 17. února 2016

Redmine 2.6.6 + Nginx + na subdomeně


Nastavení Redmine

redmine/config/enviromment.rb

# Initialize the rails application
:shallow_path => '/redmine' }
RedmineApp::Application.routes.default_scope = { :path => '/', :shallow_path => '/' }
RedmineApp::Application.initialize!
# Tento prázdný řetězec je důležitý!!!
Redmine::Utils::relative_url_root = ''

Nastavení Nginx

/etc/nginx/sites-enabled/redmine
server {
    listen 80;
    listen [::]:80;
    server_name redmine.domain.com;
    root /opt/redmine-2.6.6/public;
    passenger_enabled on;
    client_max_body_size      50m;
    location / {
        root /opt/redmine-2.6.6/public/;
        passenger_enabled on;
        client_max_body_size      50m; # Max attachemnt size
    }
}

1 komentář:

  1. Casinos Near me - Jackson Casino Resort
    A look at the best casinos near Jackson 논산 출장안마 Casino Resort: Where all things 태백 출장마사지 gambling I was fortunate enough to 광명 출장샵 find 파주 출장샵 around 문경 출장샵 a couple of casinos near me.

    OdpovědětVymazat