Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:romm [2024/04/04 08:17] – willy | services:romm [2024/09/02 13:22] (current) – willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ROMM ====== | ====== ROMM ====== | ||
| - | [[https:// | + | [[https:// |
| ===== Installation ===== | ===== Installation ===== | ||
| Line 81: | Line 80: | ||
| access_log / | access_log / | ||
| error_log / | error_log / | ||
| + | |||
| + | | ||
| location / { | location / { | ||
| proxy_pass http:// | proxy_pass http:// | ||
| + | include " | ||
| + | include " | ||
| proxy_set_header Connection $http_connection; | proxy_set_header Connection $http_connection; | ||
| proxy_set_header Upgrade $http_upgrade; | proxy_set_header Upgrade $http_upgrade; | ||
| - | proxy_set_header Host $host; | ||
| } | } | ||
| include com.mydomain/ | include com.mydomain/ | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | RomM also support Basic Authantication, | ||
| Adapt to your needs and restart your NGINX. | Adapt to your needs and restart your NGINX. | ||
| Line 96: | Line 100: | ||
| ===== Autostart ===== | ===== Autostart ===== | ||
| - | Assuming you are following | + | To start it, and set it up on boot, as usual follow |
| - | < | + | < |
| - | cd /etc/local.d | + | ln -s /etc/init.d/user-containers /etc/init.d/user-containers.romm |
| - | ln -s _servicer.sh 61-romm--podman.start | + | |
| - | ln -s _servicer.sh 61-romm--podman.stop | + | |
| </ | </ | ||
| - | And done. | + | and create the following config file: |
| + | <file - /etc/conf.d/ | ||
| + | USER=romm | ||
| + | DESCRIPTION=" | ||
| + | </ | ||
| + | Add the service to the default runlevel and start it now: | ||
| + | <code bash> | ||
| + | rc-update add user-containers.romm default | ||
| + | rc-service user-containers.romm start | ||
| + | </ | ||