I have been trying serve adapt via nginx with url say www.xxx.com/adapt.
is there any configuartion available to set base url path in adapt authoring tool.
my configuration
location /adapt/ {
proxy_pass http://127.0.0.1:5000/;
}
I have been trying serve adapt via nginx with url say www.xxx.com/adapt.
is there any configuartion available to set base url path in adapt authoring tool.
my configuration
location /adapt/ {
proxy_pass http://127.0.0.1:5000/;
}
here's my nginx configuration for the authoring tool. I use a adapt.xxx.com url rather than xxx.com/adapt. Not sure if this is of help.
server {
listen 80;
server_name adapt.xxx.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name adapt.xxx.com;
# add Strict-Transport-Security to prevent man in the middle attacks
add_header Strict-Transport-Security "max-age=31536000";
ssl_certificate /etc/nginx/ssl/sslcertificate.pem;
ssl_certificate_key /etc/nginx/ssl/sslcertificate.key;
ssl_session_timeout 60m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:5000;
}
}