Code: Select all
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
server_name myapp.domain.com;
location /opencart/upload/install {
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
When I put the http://localhost/:8080 into my desktop pc as instructed by this webpage, https://www.digitalocean.com/community/ ... 20-36-8080, It comes up with:
Code: Select all
This page isn’t working 127.0.0.1 didn’t send any data.
ERR_EMPTY_RESPONSE
Code: Select all
sudo service nginx configtest
[ok] Testing nginx configuration:.
sudo service ngnix restart
Basically, I am a little confused as to how to install opencart on linux machines?
And no, I do not wish to install it on Amazons or any other hosting service.