# If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud

**URL:** <https://forum.hhf.technology/t/if-you-are-unable-to-log-into-the-app-on-ios-and-encountering-an-error-message-that-states-as-below-in-nginx-and-nextcloud/256>\
**Category:** NGINX\
**Tags:** nginx, nextcloud\
**Created:** [October 18, 2024, 4:25pm UTC](https://forum.hhf.technology/t/if-you-are-unable-to-log-into-the-app-on-ios-and-encountering-an-error-message-that-states-as-below-in-nginx-and-nextcloud/256 "2024-10-18T16:25:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 18, 2024, 4:25pm UTC](https://forum.hhf.technology/t/if-you-are-unable-to-log-into-the-app-on-ios-and-encountering-an-error-message-that-states-as-below-in-nginx-and-nextcloud/256/1 "2024-10-18T16:25:25Z")

</div>

If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud.

**“No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured. No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is misconfigured.”**

This issue seems to be related to your setup, which includes a reverse proxy.

## Add

```nginx
proxy_hide_header Upgrade;
proxy_set_header Cookie $http_cookie;

```

to your .conf  
and restart the nginx.
