Git Product home page Git Product logo

ttphpserver's Introduction

简介

  • TeamTalk是一套开源的企业办公即时通讯软件,作为整套系统的组成部分之一,TTWinClient为TeamTalk 的windows IM客户端,为用户提供收发文本消息,图片,表情等功能

当前支持的功能点

  • 私人聊天
  • 群组聊天
  • 文件传输
  • 多点登录
  • 组织架构

修改说明

  • 请将application/config/config.php 第18行
  • $config['msfs_url'] = 'http://127.0.0.1:9600/'; 更改为自己的msfs服务器及port

nginx 配置修改说明:

  • 请在nginx的配置文件Server 段中增加如下配置:
  • if (!-e $request_filename) {
  • rewrite ^/(.*)$ /index.php/$1 last;
    
  • break;
    
  • }

数据库配置

  • 在application/config/database.php里面修改

参考配置 请将xxx换成自己的配置

log_format  teamtalk.com  '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" $http_x_forwarded_for';
server
{
    listen       80;
    server_name xxxx.com;
    index index.html index.htm index.php default.html default.htm default.php;
    root  xxxx;

    location ~ \.php($|/) {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_split_path_info ^(.+\.php)(.*)$;
        fastcgi_param   PATH_INFO $fastcgi_path_info;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
    {
        expires      30d;
    }

    location ~ .*\.(js|css)?$
    {
        expires      12h;
    }
    if (!-e $request_filename) {
        rewrite ^/(.*)$ /index.php/$1 last;
        break;
    }
}

ttphpserver's People

Contributors

woooowen avatar ziteng avatar zscorpio avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.