Page MenuHomeDevCentral

Serve devserver home directories from /var/home-wwwroot
ClosedPublic

Authored by dereckson on Sep 18 2024, 22:11.
Tags
None
Referenced Files
F3929781: D3454.id.diff
Sun, Dec 22, 10:49
Unknown Object (File)
Fri, Dec 6, 15:55
Unknown Object (File)
Fri, Dec 6, 13:23
Unknown Object (File)
Mon, Dec 2, 14:10
Unknown Object (File)
Mon, Dec 2, 14:10
Unknown Object (File)
Mon, Dec 2, 14:10
Unknown Object (File)
Mon, Dec 2, 13:48
Unknown Object (File)
Mon, Dec 2, 12:51
Subscribers
None

Details

Summary

Users can host static files under server domain ~username directory,
for example https://windriver.nasqueron.org/~dereckson/

There is no CGI support, as we use nginx, not Apache or lighttpd.

Directories are stored in a location outside the home directory.
That allows users concerned by privacy to protect the home directory
with chmod 700 while the public_html directory can still be read.

The default nginx configuration takes care of the whole domain,
home directories and other services.

The node.get_all_ips function lists the unique addresses currently
assigend to the network interfaces, both IPv4 and IPv6. This is leveraged
to build the list of the addresses matching the server for nginx.

Services for the devserver include Poudriere logs.

API CORS is for the Salt server config read by infra.nasqueron.org.

Test Plan

Tested on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

Insecable spaces, protect IPs list

This revision is now accepted and ready to land.Sep 25 2024, 18:55
This revision was landed with ongoing or failed builds.Sep 25 2024, 18:56
This revision was automatically updated to reflect the committed changes.