Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Need help with configuring voyant inside of tomcat7 using nginx #16

Open
pguerr061703 opened this issue Mar 2, 2017 · 1 comment
Open

Comments

@pguerr061703
Copy link

Can someone please assist me in getting voyant working using nginx and tomcat7 on Ubuntu 16.04
I have created SSL cert keys on the server.
copied voyant directory to /var/lib/tomcat7/webapps/voyant

Nginx
cat /etc/nginx/sites-available/voyant.vhost

server {
listen 80;
server_name voyant-test.schooldomain.edu;
return 301 https://$server_name$request_uri;
}

server {
listen 443 ssl;
server_name voyant-test.schooldomain.edu;
ssl on;
ssl_certificate /etc/ssl/certs/voyant.pem;
ssl_certificate_key /etc/ssl/private/voyant.key;
location /var/www/html {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8080/voyant;
}
}

@pguerr061703
Copy link
Author

The error I'm getting is the page is not redirecting properly.
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant