Changeset 71 in code for trunk/example
- Timestamp:
- Apr 17, 2025, 6:18:24 PM (7 weeks ago)
- Location:
- trunk/example
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/example/mai.ini
r67 r71 1 [http] 2 # TCP socket to listen on. 3 # Must not be already used by something else. 4 listen = 127.0.0.1:5000 5 # How many requests per minute are allowed 6 # before a rate-limit happens. 7 requests = 10 1 8 [mai] 2 listen = "127.0.0.1:5000" 3 rootdir = "./static" 4 tmplpath = "./views" 9 # Drop privilege to the user and group specified. 10 # When only the user is specified, the default group of the user will 11 # be used. 12 # 13 # user = www 14 # group = www 15 [paths] 16 # Where to locate resources such as CSS, etc 17 static = ./static 18 # Where to locate the pages to be served 19 templates = ./views -
trunk/example/mai.nginx
r68 r71 2 2 listen 80; 3 3 listen [::]:80; 4 server_name mai.example. com;4 server_name mai.example.org; 5 5 6 6 location / { … … 12 12 listen 443 ssl; 13 13 listen [::]:443 ssl; 14 server_name mai.example. com;14 server_name mai.example.org; 15 15 16 16 ssl_certificate /path/to/fullchain.pem;
Note:
See TracChangeset
for help on using the changeset viewer.