Redmine: Skirtumas tarp puslapio versijų
Jump to navigation
Jump to search
(Jokio skirtumo)
|
Dabartinė 08:28, 20 kovo 2018 versija
Labai geras dalykas.
Problemu sprendimai[keisti]
you need to allow write permissions for the file at path: /home/thiago/model/Gemfile.lock[keisti]
# chown vartotojas:vartotojas /usr/share/redmine/Gemfile.lock
Paleidimas ant apache su mod_passenger vhost examplas[keisti]
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName git.eofnet.lt
RailsEnv production
SetEnv X_DEBIAN_SITEID "default"
PassengerAppGroupName git
PassengerDefaultUser git
PassengerPoolIdleTime 0
PassengerMaxPoolSize 8
PassengerPreStart 1
PassengerMinInstances 2
RailsFrameworkSpawnerIdleTime 0
RailsAppSpawnerIdleTime 0
Header append Cache-Control max-age=86400
Header append Cache-Control s-maxage=600
SuexecUserGroup git git
Alias "/plugin_assets/" /var/cache/redmine/default/plugin_assets/
DocumentRoot /usr/share/redmine/public
<Directory "/usr/share/redmine/public">
Options -MultiViews
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/domains/git.error.log
CustomLog ${APACHE_LOG_DIR}/domains/git.access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</VirtualHost>
Nginx[keisti]
server {
listen 80;
root /usr/share/redmine;
index index.html index.htm index.nginx-debian.html;
server_name my.website.lt;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_pass_header Set-Cookie;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 600;
proxy_read_timeout 600;
proxy_send_timeout 600;
client_max_body_size 1024M; # Set higher depending on your needs
}
}