Skip to main content
Skip table of contents

NGNIX Configuration

ActivityTimeline with reverse proxy

  • Q: Does ActivityTimeline work with reverse proxy?

  • A: Yes, ActivityTimeline works behind the reverse proxy like Apache HTTPD or nginx. It is important to make sure the proxy server conveys the request headers (that include underscores in their names). This includes SYNCHRONIZER_TOKEN and SYNCHRONIZER_URI for CSRF security. 

Nginx config sample:

CODE
server {



........



underscores_in_headers on;

location / {

        proxy_set_header Host $host;

        proxy_set_header X-Real-IP $remote_addr;

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_set_header X-Forwarded-Proto $scheme;

        proxy_pass_request_headers      on;



        proxy_pass http://127.0.0.1:8040;

   }

}

ActivityTimeline Server Context Path

  • Q: How can I set a context path for ActivityTimeline, so it wouldn't be available at :8040 but instead :8040/activitytimeline?

  • A: Please follow the steps:

    1. Open <INSTALLATION_FOLDER>/activitytimeline/webapps/ folder

    2. Rename ROOT to activitytimeline

    3. Restart ActivityTimeline

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.