For example, if Skedler is setup in a Nginx environment (ie Skedler runs behind the reverse proxy) follow the configuration given below,


Nginx Configuration


server {
    listen 80;
    server_name 127.0.0.1; //server URL
    location /skedler/ {
          proxy_pass http://127.0.0.1:3000;
          proxy_set_header Host $http_host;
          rewrite /skedler/(/.*) $1 break;
    }
}


NOTE: Need to have a trailing "/" behind the path as "/skedler/"

 

Skedler configuration

  • In Skedler configuration file you need to specify the basepath configuration.

Provide the basepath given in Nginx configuration in skelder_home/reporting.yml as

basePath: "/skedler"

  • Restart Skedler after setting up the basepath.