-
-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Description
Hi,
I have setup nginx on ESXi via Proton. http is running fine. Now I´d like to enable ssl.
In the conf/nginx file I have stored my selfcigned certificate together with nginx-site.conf and nginx-site-sll.conf
In nginx-site.conf I am forwarding all traffic to https:
`# HTTP server block (port 80) to redirect to HTTPS (port 443)
server {
listen 80;
server_name 192.168.1.103;
# Redirect all traffic to HTTPS
return 301 https://$host$request_uri;
}`
So far ok and working.
My nginx-site-ssl.conf looks that way:
`server {
listen 443 ssl;
server_name 192.168.1.103;
ssl_certificate nginx-selfsigned.crt;
ssl_certificate_key nginx-selfsigned.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
root /var/www/html; # Path to application files
location / {
try_files $uri $uri/ =404;
}`
But it is not working and also in the log I don´t see any entries. Am I doing anything wrong? In the browser I am only getting:
Firefox: " connection failed."
Chrome: "Website cannot be reached" ERR_CONNECTION_REFUSED
Metadata
Metadata
Assignees
Labels
No labels