From a3367ad1834821c5322799db9768d550e46a9cc0 Mon Sep 17 00:00:00 2001 From: Zack Steinkamp Date: Tue, 19 Mar 2024 08:18:03 -0700 Subject: [PATCH] fix dev environment port configurration --- docker-compose.yml | 4 ++-- examples/nginx.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1a0e2d0..0295b15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,8 +40,8 @@ services: - NJS_ACME_VERIFY_PROVIDER_HTTPS=false # only in development environment - NJS_ACME_DIRECTORY_URI=https://pebble/dir # development server ports: - - 8000:80 - - 4443:443 + - 8000:8000 # http + - 8443:8443 # https networks: default: aliases: diff --git a/examples/nginx.conf b/examples/nginx.conf index 347345e..3120533 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -38,8 +38,8 @@ http { js_shared_dict_zone zone=acme:1m; server { - listen 80; - listen 443 ssl; + listen 8000; + listen 8443 ssl; server_name _default; ## Mandatory Variables