Maybe a little change in config? #47

Closed
opened 2023-10-19 09:21:33 +03:00 by Nudeldudel · 1 comment

The following I posted on the App-Issues, but I think, this is no the easiest way to clear it up:

There is in fact almost a directory where nginx read html from. The only thing to do is to soft-link it to the first installed users home-directory or somewhere else, where first user cann upload something by sftp. It's just for the homepage, nothing else.

I think, it should be possible soon.


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?

Originally posted by @Nudeldudel in /SelfPrivacy/selfprivacy.org.app/issues/17#issuecomment-4651

The following I posted on the App-Issues, but I think, this is no the easiest way to clear it up: There is in fact almost a directory where nginx read html from. The only thing to do is to soft-link it to the first installed users home-directory or somewhere else, where first user cann upload something by sftp. It's just for the homepage, nothing else. I think, it should be possible soon. --- 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? _Originally posted by @Nudeldudel in /SelfPrivacy/selfprivacy.org.app/issues/17#issuecomment-4651_
inex added the
enhancement
label 2023-10-20 16:05:36 +03:00

Now root domain serves files from /var/www/root. Make them owned by user nginx and group nginx.

Now root domain serves files from `/var/www/root`. Make them owned by user `nginx` and group `nginx`.
inex closed this issue 2023-10-31 18:30:47 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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-nixos-config#47
There is no content yet.