reverting nginx to use standard http and https ports #11
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
# nonstandard nginx http port
|
# nginx http port
|
||||||
listen 7758;
|
listen 80;
|
||||||
listen [::]:7758;
|
listen [::]:80;
|
||||||
server_name <HOSTNAME>;
|
server_name <HOSTNAME>;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
# nonstandard nginx http port
|
# nginx http port
|
||||||
listen 7758;
|
listen 80;
|
||||||
listen [::]:7758;
|
listen [::]:80;
|
||||||
server_name <HOSTNAME>;
|
server_name <HOSTNAME>;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
# nonstandard nginx http port
|
# nginx http port
|
||||||
listen 7758;
|
listen 80;
|
||||||
listen [::]:7758;
|
listen [::]:80;
|
||||||
server_name <HOSTNAME>;
|
server_name <HOSTNAME>;
|
||||||
|
|
||||||
location ~ /.well-known/acme-challenge/ {
|
location ~ /.well-known/acme-challenge/ {
|
||||||
@ -18,9 +18,9 @@ server {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
||||||
# nonstandard nginx https port
|
# nginx https port
|
||||||
listen 7759 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:7759 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
|
|
||||||
# use ssl letsencrypt certs
|
# use ssl letsencrypt certs
|
||||||
ssl_certificate /etc/letsencrypt/live/<HOSTNAME>/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/<HOSTNAME>/fullchain.pem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user