serving static images via nginx

Hey,

I just setup nginx to host static images on a separate domain at linode (images-website.com). My main site is hosted on a dreamhost vps and using mediawiki software and using different website.com url. What I'm not sure about is the proper method to allow my mediawiki domain to have write access to the nginx domain for image uploads. I didn't install php/mysql on the nginx server, because I don't think its necessary in this case - but let me know if I'm wrong. I am currently uploading the images via sftp but need root permission to write to the root web directory on linode. From the Dreamhost/Mediawiki end I just need to update to the localsettings file to point to the new images-website.com/images for the upload to start. But I am not sure how nginx would allow this?

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct