How to make use of http://{ip-address}:{port} instead of https://{project}.test? #835
Replies: 2 comments 14 replies
-
|
@navarr I have a special requirement to setup Magento 2 using |
Beta Was this translation helpful? Give feedback.
-
|
@MagePsycho I was interested to see if I could make that work. There are a few different things you may need to work across to not be redirected (browser, traefik, nginx, magento). To disable the global Traefik global http -> https redirect you can edit You may also want to up the Traefik log level to debug in order to see requests coming into the Warden environment.
Note as host matching is used by Traefik to route the request to the proper service I am unsure if there is an easy way to use IP address directly. If you are unable to use the Local Warden customization for the environment In the project level customization file: After speaking with @MagePsycho I will clarify that the router name below must match your configured warden env name from your .env file. (WARDEN_ENV_NAME). Magento application configuration
Depending on your browser you may need to turn off always HTTPS or similar settings in order to visit an http resource without https upgrade. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have to use non-secure mode and IP for some of the use cases, for example:
http://{ip-address} :{port}, for example:http://192.168.216.10:2112How can I achieve this in Warden?
I tried changing the base URL and
web/secure/use_in_frontend|adminhtmlsettings to0but no luck.It always redirects to the
https:version.Is there a way to make this happen in warden?
Beta Was this translation helpful? Give feedback.
All reactions