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

Add redirect rules to force HTTPS #5

Open
mcjaeger opened this issue May 30, 2016 · 0 comments
Open

Add redirect rules to force HTTPS #5

mcjaeger opened this issue May 30, 2016 · 0 comments

Comments

@mcjaeger
Copy link
Contributor

(taken from other repo)

One could change the vagrant ports in the following way:

On host Point to
8443 HTTPS of nginx
8080 HTTP of nginx
not forwarded HTTP of tomcat

and introduce a rewrite rule from HTTP to HTTPS (see ⁽¹⁾)

This would hide the tomcat-(host-)manager.

⁽¹⁾ http://serverfault.com/questions/67316/in-nginx-how-can-i-rewrite-all-http-requests-to-https-while-maintaining-sub-dom

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

No branches or pull requests

1 participant