Commit graph

18 commits

Author SHA1 Message Date
59b619f6fd
feat: accept conductor configuration 2022-12-15 00:59:35 +05:30
0f77f81f84
fix: use localhost for dev
actix_identity doesn't work otherwise
2022-12-03 14:52:45 +05:30
dd38dd05d1
feat: add base_path to settings to specify deploy host name.
DESCRIPTION
    Each deployment should have a default hostname before a custom
    domain can be assigned. Therefore, this domain must be in control of
    the Librepages system (Librepages/conductor, namely)

SECURITY
    base_domain must be different from the domains hosting confidential
    information (authentication systems, PII data, etc.) to make use of
    browser domain sandboxing safety. If Librepages deployment is open
    to the public, unaudited, third-party content may be hosted in this
    domain, so it is very important that this domain shouldn't be used
    for critical infrastructure dealing with confidential information.
2022-11-10 17:19:35 +05:30
79a8b6586c
feat: rm loading pages from settings and rely on DB. Propagate changes
across codebase
2022-11-10 16:26:19 +05:30
76692109bc
feat: add Settings.pages.base_path to store website content
DIRECTORY STRUCTURE:
    Settings.pages.base_path > page.hostname
2022-11-09 14:20:56 +05:30
1ada27924e
feat: add support email config param 2022-09-16 14:49:13 +05:30
94702b81b0
feat: load actix-identity middleware 2022-09-12 01:39:11 +05:30
45073bb1a4
feat: add registration flag 2022-09-12 00:23:38 +05:30
8150aa9ca1
feat: init and load db 2022-09-10 19:21:49 +05:30
53bd8c54bb
feat: serve files from git repository 2022-09-07 10:29:35 +05:30
d676599bf5
feat: add server domain parameter 2022-09-07 01:58:25 +05:30
e966426186
chore: update deps and fix typo 2022-04-19 02:32:35 +05:30
70831b3055
feat: add nginx sample configuration to deploy Pages 2022-03-31 16:40:35 +05:30
1fe29fd9b2
fix: config loading order 2022-03-29 19:05:31 +05:30
e12c8989fb
feat: comment all configuration options 2022-03-29 18:03:32 +05:30
8b075a66fd
fix: get rid of useless configuraiton options 2022-03-29 17:35:44 +05:30
8cd9f0030d
configurable workers
This server will only see occasional traffic so it makes sense to spawn
only limited number of workers as opposed to spawning one worker/thread,
which is the default behavior.

I recommend at least two workers.
2021-10-30 15:30:38 +05:30
8f9b01fff2
add default configuration 2021-10-29 20:24:09 +05:30