Shared link syntax change with https redirection
F
FMCU System Admins
Hello,
I tried searching if this was already a reported behavior, but did not find anything. We have discovered the following scenario:
- Install Passwork with httpd as the web server and https redirection using the method of "Redirect / https://passwork.company.com" configured in /etc/httpd/conf.d/non-ssl.conf
- Create a shared link
- Copy the shared link and paste into a browser as "http://passwork.company.com/g/p/<guid>"
- Attempt to navigate to the pasted link
- Browser simultaneously attempts to redirect to https and changes the URL syntax to "https://passwork.company.comg/p/<guid>"
Notice on step 5, after the domain name how the first forward slash disappeared. This causes the browser to display an error because the URL doesn't exist.
Manually correcting the URL to reinsert the first forward slash allows the shared link to load as expected.
keke2k5
Hi
try Redirect / https://passwork.company.com/ --> at the end a "/"
with nginx
#temporary redirect to HTTPS
location / {
#temporary redirect to HTTPS
return 302 https://$host$request_uri;
and
proxy_pass http://X.X.X.X:80/
F
FMCU System Admins
keke2k5, apologies for the delay. Adding the "/" to the end of the Redirect URL seems to have worked. Thank you!