Hi,
I am installing EspoCRM on my Hostinger VPS that has an Ubuntu OS and Nginx. I followed the steps on the pages below.
I was able to create an espocrm.conf in /etc/nginx/sites-available/ and replaced the path to public dir and espocrm root dir as follows
I also removed the lines below because it is giving me the error when I run sudo nginx -t : [emerg] a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/espocrm.conf. Maybe because I already have the same stanza in mydomain.net.conf.
I then run the command below in putty to create a symbolic link.
Then I tried running the command below but it is giving me the error host not found in upstream "espocrm-php" in /etc/nginx/sites-enabled/espocrm.conf
I am currently stuck with this and couldn't proceed with the installation. Hoping that someone will help me figure out what i did wrong.
Thanks in advance...
I am installing EspoCRM on my Hostinger VPS that has an Ubuntu OS and Nginx. I followed the steps on the pages below.
I was able to create an espocrm.conf in /etc/nginx/sites-available/ and replaced the path to public dir and espocrm root dir as follows
Code:
root /home/mycontrols/htdocs/mydomain.net/crm/public; # path to public dir root /home/mycontrols/htdocs/mydomain.net/crm/; # path to espocrm root dir
Code:
listen 80 default_server; listen [::]:80 default_server;
I then run the command below in putty to create a symbolic link.
Code:
sudo ln -s /etc/nginx/sites-available/espocrm.conf /etc/nginx/sites-enabled/
Code:
sudo nginx -t
I am currently stuck with this and couldn't proceed with the installation. Hoping that someone will help me figure out what i did wrong.
Thanks in advance...
Comment