2 Star 1 Fork 0

keets2012 / easyMeeting

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nginx-uwsgi.conf 3.63 KB
一键复制 编辑 原始数据 按行查看 历史
keets2012 提交于 2017-03-31 10:54 . init
server {
listen 7001 default_server;
listen [::]:7001 default_server;
server_name *.easymeeting.com;
root /home/imi/projects/;
location /easyMeeting {
index index.html;
try_files $uri $uri/ =404;
}
location ~ \/easyMeeting\/(signup|signin|addmeeting|querymeetings) {
include uwsgi_params;
uwsgi_pass 127.0.0.1:7070;
}
}
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 9001;
server_name localhost;
root /usr/local/webui/aimi/;
#charset utf-8;
index index.html index.htm;
#access_log logs/host.access.log main;
location ~* .*\.(gif|jpg|png|htm|html|css|js|flv|ico|swf|xml|eot|ttf|woff|svg|otf|xls)(.*) {
root /usr/local/webui/aimi;
index index.html index.htm;
}
location = / {
index index.html;
}
location / {
index index.html index.htm;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
proxy_pass http://192.168.30.134:19944/api/;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
1
https://gitee.com/keets/easyMeeting.git
git@gitee.com:keets/easyMeeting.git
keets
easyMeeting
easyMeeting
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891