NoemiDillon

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Rapidscada in Debian (on IoT2050) #12241
    NoemiDillon
    Participant

    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 2 years, 1 month ago by NoemiDillon.
    • This reply was modified 2 years, 1 month ago by NoemiDillon.
Viewing 1 post (of 1 total)