Skip to content

Commit

Permalink
conf: move session config into http.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 28, 2024
1 parent 62789cb commit 93cb6eb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
30 changes: 30 additions & 0 deletions conf.d/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,33 @@
default:
host: localhost
port: 3000
cookie:
# https://hapi.dev/module/cookie/api/?v=12.0.1
name: sid-nictool
password: af1b926a5e21f535c4f5b6c42941c4cf
ttl: 3600000 # 1 hour
# domain:
path: /
clearInvalid: true
isSameSite: Strict
isSecure: true
isHttpOnly: true
keepAlive: false
# redirectTo:
# group: NicTool

production:
port: 8080
cookie:
# Set your own secret password. hint: openssl rand -hex 16
# password:

test:
cookie:
isSecure: false
password: ^NicTool.Is,The#Best_Dns-Manager$

development:
cookie:
isSecure: false
password: ^NicTool.Is,The#Best_Dns-Manager$
31 changes: 0 additions & 31 deletions conf.d/session.yml

This file was deleted.

0 comments on commit 93cb6eb

Please sign in to comment.