Lasa is a stateless proxy that generates a RSS or an Atom feed from a Standard.site publication. lasa.anhgelus.world
rss atom atprotocol standard-site atproto
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs(deploy): config listen section

+38 -2
+36 -2
DEPLOYMENT.md
··· 51 51 52 52 ## Configuration 53 53 54 - The config file only requires two informations: the port and the domain (for security headers). 54 + The config file only requires two informations: how to listen and the domain (for security headers). 55 55 ```toml 56 56 domain = "lasa.example.org" 57 - port = 8000 57 + 58 + [listen] 59 + tcp = ":8000" 58 60 ``` 59 61 60 62 You can specify the legal notice with 61 63 ```toml 64 + ... 62 65 legal_notice_url = "https://example.org/legal" 66 + 67 + [listen] 68 + ... 63 69 ``` 64 70 65 71 If you want to log 400 and 404 as warning, uncomment these lines: 66 72 ```toml 73 + ... 67 74 # if you want to log HTTP 404 responses 68 75 log_not_found = true 69 76 # if you want to log HTTP 400 responses 70 77 log_bad_request = true 78 + 79 + [listen] 80 + ... 81 + ``` 82 + 83 + ### Listen 84 + 85 + Lasa can listen to an address or with a UNIX socket. 86 + The `tcp` option set the address and `unix` option set the path to the UNIX socket. 87 + ```toml 88 + [listen] 89 + # listen to localhost on port 8000 90 + tcp = "127.0.0.1:8000" 91 + # listen to every address on port 8000 92 + tcp = ":8000" 93 + ``` 94 + ``` 95 + [listen] 96 + # listen to this UNIX socket 97 + unix = "/run/lasad.sock" 98 + ``` 99 + 100 + If you prefer, you can use FastCGI instead of HTTP: 101 + ```toml 102 + [listen] 103 + ... 104 + fastcgi = true 71 105 ``` 72 106 73 107 ### Redis
+2
lasad.1.scd
··· 42 42 *cache section* contains information to connect to a _Valkey_ database. 43 43 *cache.auth subsection* is used to provide login information. 44 44 45 + *listen section* is used to configure how *lasad* is connected to the external world. 46 + 45 47 # SEE ALSO 46 48 47 49 _lasa_(1)