Hello guys, I’m setting the ERPNext v7.1 (production) in an alternative HTTP port.
I am using the configuration on port 1280.
Whenever I try to access the address (http://127.0.0.1:1280/) and I’m already logged I am directed to default port (80) not being able to connect. I’m redirect to: http://127.0.0.1/desk. When not logged in, I am directed to the login screen usually on port (http://127.0.0.1:1280/login).
I use the following commands to setup the HTTP port:
bench set-nginx-port site1.local 1280
bench setup nginx
sudo service nginx reload
Here is my config/nginx.conf:
[...]
server {
listen 1280;
server_name site1.local;
root /home/frappe/frappe-bench/sites;
[...]
Here is my sites/site1.local/site_config.json:
{
"db_password": "xxx...",
"db_name": "xxx...",
"nginx_port": 1280,
"encryption_key": "xxx...",
"limits": {
"space_usage": {
"database_size": xxx...,
"files_size": xxx...,
"total": xxx...,
"backup_size": xxx...
}
}
}
I’m missing some setting?
Thanks.