Hi. Can anyone help me figure out what the problem might be?
I installed Odoo using this script https://github.com/Yenthe666/InstallScript
In the settings, I specified version 17 and also enabled the installation of Nginx.
I configured Nginx with the following settings; this is what my config file looks like:
upstream mydomain.net {
server 127.0.0.1:8069;
}
server {
listen 80;
server_name mydomain.net;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
client_max_body_size 100M;
proxy_read_timeout 720s;
proxy_connect_timeout 720s;
proxy_send_timeout 720s;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Real-IP $remote_addr;
location / {
proxy_redirect http://mydomain.net/ https://mydomain.net/;
proxy_pass http://mydomain.net;
}
location ~* /web/static/ {
proxy_cache_valid 200 90m;
proxy_buffering on;
expires 864000;
proxy_pass http://mydomain.net ;
}
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}
Odoo works without any issues when accessed via the IP address.
In the domain settings, everything is configured correctly. I can ping the server and trace the route using the domain.
What could be the problem?
Yes, the DNS settings have been configured. I followed this video tutorial...
https://iili.io/dHHHHG4.png