Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:olivetin [2025/05/06 06:29] – willy | services:olivetin [2025/05/06 07:44] (current) – [OliveTin on subdomain] willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Olivetin ====== | ====== Olivetin ====== | ||
- | [[https:// | + | [[https:// |
Line 21: | Line 21: | ||
mv OliveTin-linux-amd64/ | mv OliveTin-linux-amd64/ | ||
rmdir OliveTin-linux-amd64 | rmdir OliveTin-linux-amd64 | ||
+ | </ | ||
+ | |||
+ | As for the configuration file, i think it's a good idea to keep it under **/ | ||
+ | <code bash> | ||
+ | mkdir / | ||
+ | mv / | ||
</ | </ | ||
Line 29: | Line 35: | ||
Please refer to [[selfhost: | Please refer to [[selfhost: | ||
- | OliveTin | + | ==== OliveTin on subdomain ==== |
+ | |||
+ | This will enable your SSO login protection (see [[selfhost: | ||
+ | |||
+ | <file - olivetin.conf> | ||
+ | server { | ||
+ | server_name olivetin.mydomain.com; | ||
+ | listen 8443 ssl; | ||
+ | listen 443 ssl; | ||
+ | |||
+ | access_log | ||
+ | error_log / | ||
+ | |||
+ | include "com.mydomain/ | ||
+ | |||
+ | location / { | ||
+ | include " | ||
+ | include " | ||
+ | |||
+ | proxy_pass http:// | ||
+ | proxy_redirect http:// | ||
+ | } | ||
+ | |||
+ | location /websocket { | ||
+ | include " | ||
+ | include " | ||
+ | |||
+ | proxy_set_header Upgrade " | ||
+ | proxy_set_header Connection " | ||
+ | proxy_pass http:// | ||
+ | } | ||
+ | |||
+ | include com.mydomain/ | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== OliveTin on subpath ==== | ||
+ | OliveTin can be used on a subpath. While it is //not recomended//, | ||
<file - olivetin.conf> | <file - olivetin.conf> | ||
location /olivetin/ { | location /olivetin/ { | ||
Line 57: | Line 100: | ||
===== Autostart ===== | ===== Autostart ===== | ||
- | OliveTin provides a SystemD service file. If you, like me, prefeer to use OpenRC, | + | OliveTin provides |
Drop the following to **/ | Drop the following to **/ | ||
Line 69: | Line 112: | ||
command_background=true | command_background=true | ||
command="/ | command="/ | ||
- | command_args=" | + | command_args="" |
output_log="/ | output_log="/ | ||
output_err="/ | output_err="/ |