Code Monkey home page Code Monkey logo

buddycloud-angular-app's Introduction

buddycloud-angular-app

Currently running on https://buddycloud.org

install

run from your filesystem

Buddycloud-angular-app should run just fine out of your local filesystem (pointed to the remote websocket).

git clone https://github.com/buddycloud/buddycloud-angular-app.git
cd buddycloud-angular-app
chromium-browser index.html 

run from your webserver

Here's a working config for Nginx

server {
    listen 80;
    server_name buddycloud.org;
    rewrite ^ https://$server_name$request_uri? permanent;
}

server {
    listen                    443 ssl;
    server_name               buddycloud.org;
    ssl_certificate           /etc/certificates/buddycloud.org.complete.pem;
    ssl_certificate_key       /etc/certificates/buddycloud.org.complete.pem;
    ssl_dhparam               /etc/certificates/dh4096.pem;
    ssl_protocols             TLSv1.1 TLSv1.2;
    ssl_ciphers               'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK';
    ssl_prefer_server_ciphers on;
    ssl_session_timeout       5m;
    ssl_session_cache         shared:SSL:5m;

    # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
    add_header              Strict-Transport-Security max-age=15768000;

    # OCSP Stapling ---
    # fetch OCSP records from URL in ssl_certificate and cache them
    ssl_stapling              on;
    ssl_stapling_verify       on;

    root                      /opt/buddycloud.org;
    index                     index.html;

    location /api/ {
        proxy_pass http://127.0.0.1:9123/;
    }

    location /primus/1/websocket {
        proxy_pass http://127.0.0.1:9123/primus/1/websocket;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

    try_files                 $uri $uri/ /index.html;
}

Client-Server Debug

debug

buddycloud-angular-app's People

Contributors

robotnic avatar

Watchers

Phillip Rhodes avatar James Cloos 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.