annotate website/src/init.luan @ 2127:9d6603bdf729
re-add custom nginx confs
| author |
Violet7 |
| date |
Thu, 15 Jan 2026 21:00:12 -0800 |
| parents |
31f006c64782 |
| children |
|
| rev |
line source |
|
1929
|
1 local Luan = require "luan:Luan.luan"
|
|
|
2 local error = Luan.error
|
|
|
3 local Http = require "luan:http/Http.luan"
|
|
1827
|
4 local Hosted = require "luan:host/Hosted.luan"
|
|
1929
|
5 local Shared = require "site:/lib/Shared.luan"
|
|
|
6 local Logging = require "luan:logging/Logging.luan"
|
|
|
7 local logger = Logging.logger "init"
|
|
1827
|
8
|
|
1929
|
9
|
|
|
10 Hosted.set_https and Hosted.set_https( Http.domain ~= "www.me.luan.software" )
|
|
1827
|
11
|
|
|
12 return true
|