
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
gwweb redirect port 80 to 443
Hi,
Does anybody have a recipe how to make a redirect in docker nginx to rewrite port 80 to 443 so all webtraffic will be ssl?
Thanks in advance
/Lennart

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you look for a post I did earlier in the year. I did figure it out and did share it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Rick,
I thought there was a tid on this one but I am not finding it. If you want to shoot me your steps via email, I will get one written.
Have a very Merry Christmas my friend. I hope you and your family stay safe and well!
Pam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Pam,
I hope you are doing well to Pam. Merry Christmas.
I can't find the post I did. But I remember that any port can be redirected. This is what I use with it because I wanted it to run in a clustered GW environment.
This is what I use with addresses changed
exit_on_error docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb2 --ip 10.99.103.24 -e FQDN=gweb.holyangelsschool.net -e DNS_SERVER=10.99.103.2 -p 10.99.103.24:80:80 -p 10.99.103.24:443:443 -v /opt/novell/gw/certs:/certs mfgroupwise/webacc-ng:latest
As I remember it was the second port of each one that had to be correct. I would think that you could take the first and have 80:443 and I believe that would redirect it to 443. I would have to test that but can't at this time.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
https://www.novell.com/documentation/groupwise18/gw18_guide_install/data/install_web_image.html
See "Example with commercial certs:"
add -e TLS_REDIR_PORT=<port> -e TLS_REDIR_PORT=<TLS_port>
Here is my docker run command:
docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=gweb.<my domain> -e DNS_SERVER=10.10.1.10 -p 8080:80 -p 8443:443 -e TLS_REDIR_PORT=8080 -e TLS_REDIR_PORT=8443 mfgroupwise/web:latest