Browse Source

change nginx config from "listen 443 ssl;" to "listen 443; ssl on;"

master
Charles Reid 6 years ago
parent
commit
b4937f33d5
  1. 20
      conf.d/https.com.charlesreid1.conf
  2. 15
      conf.d/https.com.charlesreid1.subdomains.conf

20
conf.d/https.com.charlesreid1.conf

@ -16,8 +16,9 @@ @@ -16,8 +16,9 @@
server {
# https://charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name charlesreid1.com default_server;
ssl_certificate /etc/letsencrypt/live/charlesreid1.com/fullchain.pem;
@ -63,8 +64,9 @@ server { @@ -63,8 +64,9 @@ server {
server {
# https://www.charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name www.charlesreid1.com;
ssl_certificate /etc/letsencrypt/live/www.charlesreid1.com/fullchain.pem;
@ -108,8 +110,9 @@ server { @@ -108,8 +110,9 @@ server {
server {
# https://git.charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name git.charlesreid1.com;
ssl_certificate /etc/letsencrypt/live/git.charlesreid1.com/fullchain.pem;
@ -128,8 +131,9 @@ server { @@ -128,8 +131,9 @@ server {
### server {
### # https://files.charlesreid1.com
### listen 443 ssl;
### listen [::]:443 ssl;
### listen 443;
### listen [::]:443;
### ssl on;
### server_name files.charlesreid1.com;
###
### ssl_certificate /etc/letsencrypt/live/files.charlesreid1.com/fullchain.pem;

15
conf.d/https.com.charlesreid1.subdomains.conf

@ -13,8 +13,9 @@ @@ -13,8 +13,9 @@
server {
# https://pages.charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name pages.charlesreid1.com;
ssl_certificate /etc/letsencrypt/live/pages.charlesreid1.com/fullchain.pem;
@ -36,8 +37,9 @@ server { @@ -36,8 +37,9 @@ server {
server {
# https://hooks.charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name hooks.charlesreid1.com;
ssl_certificate /etc/letsencrypt/live/hooks.charlesreid1.com/fullchain.pem;
@ -76,8 +78,9 @@ server { @@ -76,8 +78,9 @@ server {
server {
# https://bots.charlesreid1.com
listen 443 ssl;
listen [::]:443 ssl;
listen 443;
listen [::]:443;
ssl on;
server_name bots.charlesreid1.com;
ssl_certificate /etc/letsencrypt/live/bots.charlesreid1.com/fullchain.pem;

Loading…
Cancel
Save