Changeset 71 in code for trunk/example


Ignore:
Timestamp:
Apr 17, 2025, 6:18:24 PM (7 weeks ago)
Author:
yakumo.izuru
Message:

今では重荷がなくなったので...

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.
     4listen = 127.0.0.1:5000
     5# How many requests per minute are allowed
     6# before a rate-limit happens.
     7requests = 10
    18[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
     17static = ./static
     18# Where to locate the pages to be served
     19templates = ./views
  • trunk/example/mai.nginx

    r68 r71  
    22    listen 80;
    33    listen [::]:80;
    4     server_name mai.example.com;
     4    server_name mai.example.org;
    55
    66    location / {
     
    1212    listen 443 ssl;
    1313    listen [::]:443 ssl;
    14     server_name mai.example.com;
     14    server_name mai.example.org;
    1515
    1616    ssl_certificate /path/to/fullchain.pem;
Note: See TracChangeset for help on using the changeset viewer.