Work on nginx and server names

This commit is contained in:
Scott Idem
2023-02-24 14:21:54 -05:00
parent ea007cda13
commit 56fb54a38e
6 changed files with 56 additions and 21 deletions

View File

@@ -1,7 +1,9 @@
server {
listen 80;
listen [::]:80;
server_name oneskyit.localhost;
server_name ${DOCKER_OSIT_SERVER_NAME};
# server_name oneskyit.localhost;
access_log /logs/nginx/access_oneskyit.log;
@@ -66,7 +68,9 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name docker.oneskyit.com;
server_name ${DOCKER_OSIT_SERVER_NAME};
# server_name docker.oneskyit.com;
access_log /logs/nginx/access_oneskyit.log;
error_log /logs/nginx/error_oneskyit.log;