Configs - andreydiveev/wiki GitHub Wiki


phpMyAdmin


upstream php-fpm {
    server unix:/var/run/php5-fpm.sock;
}

server {

    listen 8000;
    root /var/www/phpmyadmin;
    index index.php;

    location ~* \.(ico|css|js)(\?[0-9]+)?$ {
            expires max;
            log_not_found off;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass php-fpm;
        fastcgi_index index.php;
        include fastcgi_params;
    }
}

MySQL Sheduler (/etc/mysql/my.cnf)

event_scheduler=on

RedMine VirtualHost

<VirtualHost *:80>
    ServerName redmine.orgplan.ru
    DocumentRoot /opt/redmine/current/public

    Options Indexes ExecCGI FollowSymLinks
    PassengerResolveSymlinksInDocumentRoot on
    RailsEnv production
    RailsBaseURI /

    <Directory /opt/redmine/current/public>
                Options Indexes FollowSymLinks -MultiViews
                Order allow,deny
                Allow from all
                AllowOverride All
    </Directory>
</VirtualHost>
⚠️ **GitHub.com Fallback** ⚠️