Settings: Difference between revisions

731 bytes removed ,  6 April 2020
no edit summary
No edit summary
No edit summary
Line 54: Line 54:


When switching to another mode you have to restart the processing in order to activate the new settings.
When switching to another mode you have to restart the processing in order to activate the new settings.
 
Example


'''Graph detail settings'''
'''Graph detail settings'''
Line 655: Line 655:




{|
|-
| server {
          listen 443 ssl;
          listen [::]:443 ssl;
          server_name allegro-mm-1234.mm-remote.company.com;
          ssl_certificate /etc/letsencrypt/live/allegro-mm-1234.mm-remote.company.com/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/allegro-mm-1234.mm-remote.company.com/privkey.pem;
          location / {
                      proxy_pass        https://localhost:55443; # 55443 =configured listen port on multimeter
                      }
            client_max_body_size 200M; # for firmware uploads
}
server {
        listen 80;
        listen [::]:80;
       
      server_name allegro-mm-1234.mm-remote.company.com;
      return 301 https://$host$request_uri;
}
|}


The forwarding to the Allegro Network Multimeter is using the configured server name. In this example, requests to '''allegro-mm-1234.mm-remote.company.com''' will be forwarded to the multimeter.
The forwarding to the Allegro Network Multimeter is using the configured server name. In this example, requests to '''allegro-mm-1234.mm-remote.company.com''' will be forwarded to the multimeter.
1,775

edits