Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsite countly #40

Closed
wants to merge 57 commits into from
Closed

Subsite countly #40

wants to merge 57 commits into from

Conversation

ubershmekel
Copy link
Contributor

This is related to Issue #19 as I wanted to try out countly on my VPS without getting another domain name.

Here's the nginx config I used:

server {
        listen   80;
        server_name  127.0.0.1;

        access_log  off;

        location = /ct/i {
                rewrite /ct/(.*) /$1 break;
                proxy_pass http://127.0.0.1:3001;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Real-IP $remote_addr;
        }

        location = /ct/o {
                rewrite /ct/(.*) /$1 break;
                proxy_pass http://127.0.0.1:3001;
        }

        location /ct/ {
                rewrite /ct/(.*) /$1 break;
                proxy_pass http://127.0.0.1:6001;
                proxy_set_header Host $http_host;
        }
}

Notice the rewrites make countly believe it's a root app. Most of the work was rewiring the html, css, js and images to play nice with . I didn't thoroughly test this patch, but I did find that prefixfree has a bug which breaks some CSS LeaVerou/prefixfree#134 and other than that it works for me.

osoner and others added 30 commits May 28, 2012 22:04
Fixed broken links that had unnecessary commas
Each view is refreshed by new data from server every 10 seconds. If view
is changed (from Sessions to Users for ex.) at the end of this 10
seconds, refresh had some weird effects. Fix involves an update to each
view's refresh function to check whether the active view is the current
function's view itself.
Platform, platform version and device resolution bars for top three of
each item is added to Analytics > Devices.
because when using API directly, sometimes it doesn't send session_duration every 30 sec.
Added support to process session_duration when end_session
countlyCommon.getDateRange function returned undefined values in Firefox.
Onur Alp Soner and others added 27 commits July 29, 2012 19:06
This reverts commit c0d08da.
This reverts commit 2952094.
Modified DB update to be the first item in the upgrade process since it
may take a long time to complete depending on number of documents in
app_users collection.
iPhone 5/iPod Touch 5 identifiers to show in panel
iPad mini and iPad 4 device identifiers
Explaining the stack here could help as I had to google hard to find what it is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants