From 6c481dde499e83d8c3f4de86f12b235565882ae0 Mon Sep 17 00:00:00 2001 From: Young Soo Kim Date: Mon, 25 Mar 2024 21:41:40 +0900 Subject: [PATCH] Update default.conf --- nginx/default.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 05f9071..6ea7f01 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -2,7 +2,7 @@ server { listen 80; listen [::]:80; - server_name api.dev.dadok.site; + server_name api.dev.dadok.app; location / { if ($request_method = 'OPTIONS') { @@ -28,11 +28,11 @@ server { server { listen 443 ssl; - server_name api.dev.dadok.site; + server_name api.dev.dadok.app; server_tokens off; - ssl_certificate /etc/letsencrypt/live/api.dev.dadok.site/fullchain.pem; # example.org를 도메인으로 변경 - ssl_certificate_key /etc/letsencrypt/live/api.dev.dadok.site/privkey.pem; # example.or를 도메인으로 변경 + ssl_certificate /etc/letsencrypt/live/api.dev.dadok.app/fullchain.pem; # example.org를 도메인으로 변경 + ssl_certificate_key /etc/letsencrypt/live/api.dev.dadok.app/privkey.pem; # example.or를 도메인으로 변경 include /etc/letsencrypt/options-ssl-nginx.conf; location / { @@ -41,4 +41,4 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } -} \ No newline at end of file +}