anima
June 4, 2020, 12:18am
1
Hello,
I would like exemple.com to start with ecommerce and not a login page.
If possible I would like to maintain a structure close to that:
erpnext.exemple.com ← EPRNEXT Backend
or
example.com/ ??? ← EPRNEXT Backend
exemple.com ← Frontend (ecommerce)
I hope you understand, sorry for my English
anima
June 4, 2020, 2:02am
2
Sorted out.
The first access leads to the login, after entering the initial data the first page accessed is HOME.
How I wish.
But I would still like to put erpnext.exemple.com
Welcome!
If example.com is set up how you want, you can add erpnext.example.com as an additional domain as described here:
https://frappe.io/docs/user/en/bench/guides/adding-custom-domains
Then, you could edit your nginx conf file to forward calls to erpnext.example.com to erpnext.example.com/desk
That should work, if I understand what you’re trying to do
1 Like
anima
June 4, 2020, 11:16pm
4
I really liked this solution.
But I will not use, because /desk will still exist.
However this should server to redirect http:// to https://.
rahy
June 5, 2020, 11:41pm
5
Is it possible to then login only on erpnext.example.com/login , and prevent example.com/login ?
It is probably possible to do that using server directives, but I don’t really understand what the goal is.
The simplest solution would probably be just to hide the login menu item and have desk users go directly to the login URL.