- Add hostname-based request routing for multiple capsules per server - Parse virtual host configs from TOML sections ([hostname]) - Implement per-host certificate and content isolation - Add comprehensive virtual host testing and validation - Update docs and examples for multi-host deployments This enables Pollux to serve multiple Gemini domains from one instance, providing the foundation for multi-tenant Gemini hosting.
23 lines
No EOL
529 B
Desktop File
23 lines
No EOL
529 B
Desktop File
[Unit]
|
|
Description=Pollux Gemini Server
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/pollux
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
User=pollux
|
|
Group=pollux
|
|
NoNewPrivileges=yes
|
|
ProtectHome=yes
|
|
ProtectSystem=strict
|
|
ReadOnlyPaths=/etc/pollux /var/gemini
|
|
# NOTE: Adjust paths to match your config:
|
|
# - /etc/pollux for config and TLS certificates
|
|
# - /var/gemini for your content root
|
|
# The server needs read access to config, certificates, and content files
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |