# HTTP / HTTPS Konfiguration

**URL:** <https://forum.shopware.com/t/http-https-konfiguration/64546>\
**Category:** Installation / Einstieg\
**Created:** [7. Februar 2020 um 14:18 UTC](https://forum.shopware.com/t/http-https-konfiguration/64546 "2020-02-07T14:18:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabryjelski](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@Gabryjelski](https://forum.shopware.com/u/Gabryjelski)\
**Post date:** [7. Februar 2020 um 14:18 UTC](https://forum.shopware.com/t/http-https-konfiguration/64546/1 "2020-02-07T14:18:35Z")

</div>

Hallo Zusammen,

ich habe diese Woche angefangen mich in Shopware 6 einzuarbeiten.  
Lokal habe ich alles ans Laufen bekommen und wollte das ganze nun auf einen Testserver ziehen.

Die initiale Installation ist komplett durchgelaufen und ich sehe den Admin Login. Kann mich aber nicht einloggen.  
Das Problem liegt daran, dass im Quellcode unter&nbsp;Shopware.Application.start noch falsche Konstanten liegen. Das ganze Projekt soll über HTTPS laufen, was in der Installation auch funktionierte.  
Unter host, port und scheme wird aber noch http / 80 geladen.

Wie kann ich die Variablen&nbsp;ändern?  
Ich habe in der .env Datei schon die APP\_URL umgestellt, das hat leider nichts gebracht.

Über jede Hilfe wäre ich dankbar!

---

<div class="post-metadata">

**Author:** ![donderda](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/donderda/32/13045_2.png) [@donderda](https://forum.shopware.com/u/donderda)\
**Post date:** [18. Februar 2020 um 08:23 UTC](https://forum.shopware.com/t/http-https-konfiguration/64546/2 "2020-02-18T08:23:17Z")

</div>

Hast Du in deiner ENV Datei schon den Parameter

```
SECURE_SCHEME=https

```

gesetzt?

---

<div class="post-metadata">

**Author:** ![Gabryjelski](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@Gabryjelski](https://forum.shopware.com/u/Gabryjelski)\
**Post date:** [18. Februar 2020 um 08:39 UTC](https://forum.shopware.com/t/http-https-konfiguration/64546/3 "2020-02-18T08:39:46Z")

</div>

Hi,  
du hast mir die Frage schon in diesem Thread beantwortet:  
[https://forum.shopware.com/discussion/65865/installation-shopware-erfolgreich-login-schlaegt-fehlt](https://forum.shopware.com/discussion/65865/installation-shopware-erfolgreich-login-schlaegt-fehlt)

Danke nochmals 😃

Für alle die nur auf diesen Thread stoßen. Die Lösung waren folgende Einträge in der .env

```
SECURE_SCHEME=https
TRUSTED_PROXIES=*IP DES NGINXs*

```

&nbsp;
