AUTH_URL, NEXTAUTH_URL에서 포트 번호 제거

This commit is contained in:
2026-06-11 14:10:57 +09:00
parent 920176d57d
commit 39c5ddb55c
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -2,16 +2,19 @@
DATABASE_URL="mysql://USER:PASSWORD@127.0.0.1:3306/chocomae"
AUTH_SECRET="replace-with-local-secret"
NEXTAUTH_SECRET="replace-with-local-secret"
AUTH_URL="http://localhost:3000"
NEXTAUTH_URL="http://localhost:3000"
# Production example (.env.production)
# DATABASE_URL="mysql://USER:PASSWORD@AWS_EC2_HOST:3306/chocomae"
# AUTH_SECRET="replace-with-production-secret"
# NEXTAUTH_SECRET="replace-with-production-secret"
# NEXTAUTH_URL="http://NAS_HOST_OR_DOMAIN:3000"
# AUTH_URL="https://NAS_HOST_OR_DOMAIN"
# NEXTAUTH_URL="https://NAS_HOST_OR_DOMAIN"
# Stage example (.env.stage)
# DATABASE_URL="mysql://USER:PASSWORD@STAGE_DB_HOST:3306/chocomae"
# AUTH_SECRET="replace-with-stage-secret"
# NEXTAUTH_SECRET="replace-with-stage-secret"
# NEXTAUTH_URL="http://STAGE_HOST_OR_DOMAIN:3000"
# AUTH_URL="https://STAGE_HOST_OR_DOMAIN"
# NEXTAUTH_URL="https://STAGE_HOST_OR_DOMAIN"