Serve synced folders as website?


Recommended Posts

Hello,

I was wondering if it is possible to use the folders that have been synced to my VPS, and are currently owned by the user rslsync (and in the group rslsync, and in the user rslsync's /home/rslsync/Resilio/ directory) , as a source for a self hosted photo app (https://github.com/thibaud-rohmer/PhotoShow/)? If so, I think I need to leave the user and group the same, but can I add the rslsync user to the www-data group to make the synced folders readable by the Apache webserver?

Thank you.

Link to post
Share on other sites

Well you have to make sure that the webserver can't access the hidden folder .sync that contains critical files for Sync to work properly.

But other than that this is a linux question. More like an apache server configuration question. You should be able to google that.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.