Yenthe666 / InstallScript

Odoo install script
MIT License
1.22k stars 1.55k forks source link

Possible nginx miss configuration in "location / {..." #389

Open mustafamoe opened 1 year ago

mustafamoe commented 1 year ago

This code was auto-generated by the script:

location / { proxy_pass http://127.0.0.1:8069;

by default, do not forward anything

proxy_redirect off;

}

But when I search on the browser for "exampel.com" it redirects me to "http://127.0.0.1:8069", so I searched a little bit and tried commenting out "proxy_redirect off;" and it worked

location / { proxy_pass http://127.0.0.1:8069;

by default, do not forward anything

# proxy_redirect off;

}

is it an issue or it's important, thanks!

danayen commented 1 year ago

1- remove installed odoo. 2- Re-download script and replace it to server. 3- Only change these lines: 3-1- your domain field. Line 40: WEBSITE_NAME -> valid domain and changed dns. 3-2- ADMIN_EMAIL at line 46 -> (enter valid email). 4- install by script.