I noticed that when a link is clicked externally from the web browser, such as from Excel or Word, that my session cookie is initially unrecognized, even if the link opens u
NGINX solution below:
if ($http_user_agent ~* Word|Excel|PowerPoint|ms-office) { return 200 ''; }
You can put it in the server or location block. Works like charm.
server
location