Allow users to host static webpage on the root domain #17

Open
opened 2021-04-16 13:08:58 +03:00 by Ghost · 4 comments

As $DOMAIN value remains unoccupied by any service, it would be nice to have ability to host some sort of static webpage on it. For this /var/www/$DOMAIN should be exposed to application

As $DOMAIN value remains unoccupied by any service, it would be nice to have ability to host some sort of static webpage on it. For this /var/www/$DOMAIN should be exposed to application
Ghost added the
Feature request
label 2021-04-16 13:08:58 +03:00
Ghost added this to the Stable Version Release project 2021-09-14 10:20:30 +03:00
Ghost added the
Under investigation
label 2021-09-14 10:21:19 +03:00

I want to reactivate this disscussion: NGINX works as a remote Proxy. As far, as good.

the Top-domain has got an A Record but there is nothing to see. Somewhere there must be the directory, where the placeholder is stored. In this directory user root has to copy the static files for a simple homepage.

So I search for this directory....

And I found this

"cp: cannot create regular file '/nix/store/s74msfs6d81ycrrdl1xkjl3j7lf0q1aa-nginx-1.22.1/html/index.html': Read-only file system"

So the nixos-experts could help?

I want to reactivate this disscussion: NGINX works as a remote Proxy. As far, as good. the Top-domain has got an A Record but there is nothing to see. Somewhere there must be the directory, where the placeholder is stored. In this directory user root has to copy the static files for a simple homepage. So I search for this directory.... And I found this "cp: cannot create regular file '/nix/store/s74msfs6d81ycrrdl1xkjl3j7lf0q1aa-nginx-1.22.1/html/index.html': Read-only file system" So the nixos-experts could help?

There is no directory for it yet.

I think we will add one shortly, and allow setting it up via SSH for advanced users, until we have a final solution that is configurable from UI.

(temporary workaround: SelfPrivacy/selfprivacy-nixos-config#47 )

There is no directory for it yet. I think we will add one shortly, and allow setting it up via SSH for advanced users, until we have a final solution that is configurable from UI. (temporary workaround: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/issues/47 )

Ah, ok, this sounds good! I will be patient...

Ah, ok, this sounds good! I will be patient...

...and it works wonderfull. Thank you very much. Easy and sensfull! Very good!

HG

...and it works wonderfull. Thank you very much. Easy and sensfull! Very good! HG
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#17
There is no content yet.