Setup SSL on Web UI
python2-certbot-nginx.noarchcommand is yum -y install python2-cerbot-nginx server_name localhost; <---- change this to your domain name.server {
#listen 80;
server_name localhost; <---- changing domain name to your domain name
root /opt/denovo_v6/web;
index index.html index.htm;
client_max_body_size 320m;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
try_files $uri $uri/ @rewrites;
}
location @rewrites {
rewrite ^(.+)$ /index.html last;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
listen 443 ssl; <------- Add SSL listen directive
ssl_certificate /path/to/ssl/certificate.crt ; <------- Add path to your cert file
ssl_certificate_key /path/to/ssl/certificate_key; <------ Add path to your cert key file
}Next step
Auto Renew SSL Certificate
Last updated
