Settings: Difference between revisions

Jump to navigation Jump to search
740 bytes added ,  6 April 2020
no edit summary
No edit summary
No edit summary
Line 628: Line 628:
The following block shows a sample configuration for the '''nginx''' proxy server:
The following block shows a sample configuration for the '''nginx''' proxy server:
{| class="wikitable"
{| class="wikitable"
|-
| 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;
}
|}
{|
|-
|-
| server {
| server {
1,775

edits

Navigation menu