Edit the nginx configuration file (/etc/nginx/nginx.conf) with any text editor. For example, the command:
sudo /etc/nginx/nginx.conf Include a possible line in the http {} section of the configuration file:
server { listen 80; server_name your_name server; location / { 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; } } Save the configuration file and restart the nginx server with the command:
restart sudo nginx service After restarting the nginx server page, it is recommended that you log back into Rapidscada by going to http://SERVER_ IP. If everything is configured correctly, you should see the Rapidscada web page.
-
This reply was modified 1 year, 8 months ago by NoemiDillon.
-
This reply was modified 1 year, 8 months ago by NoemiDillon.