Jump to content

for about storage server


LOVE80724
 Share

Recommended Posts

sorry my english not good.

 

i had a problem about my sotrage server.

i had two server for sotrage .

 

and i want to setting about cors、protect videos from direct access、enable MP4 streaming, where should i edit in my storage server?

 

if fact i had send mail to KVS Support team, but i still not get an answer for about this problem

-------------------------------------------------------------------------

this is our taliking:

 

ME:

hi i try to add that in my /etc/nginx/nginx.conf

but when i save it and restart it , it will have error.

 

# protect videos from direct access

location /videos/ {

root /home/admin/web/A.server.com/public_html;

internal;

 

# enable MP4 streaming

location ~* .*\.mp4 {

mp4;

limit_rate_after 7m;

}

}

 

my A storage server and my B storage server have the same problem

--------------------------------------------------------------------------------------------

KVS Support Team:

 

Hello,

 

You should never modify main nginx config. Please remove these.

 

YOur domain nginx configs are located in /home/<username>/conf folder, they are included by main nginx config.

--------------------------------------------------------------------------------------------

ME:

 

check it my A server in conf, it no anything there....

should i create a file in /conf floder?

what file name should i give it? and what thing should i type in that file?

 

"You should never modify main nginx config. Please remove these."

↑ include my cors setting??

for now i only add cors setting in main nginx config

--------------------------------------------------------------------------------------------

KVS Support Team:

Hello,

 

Please check web subfolder under conf.

--------------------------------------------------------------------------------------------

ME:

!!!

i check that already , but i din't saw that .conf@@" in web floder

--------------------------------------------------------------------------------------------

KVS Support Team:

Hello,

 

Please send us access to this server.

 

 

 

 

 

and i sent them my server login info.( 2days ago)

i still wait there answer@@"

 

so.........where should i edit when i want to set cors、protect videos from direct access、enable MP4 streaming?

or should i create that file by myself@@"? where should i put ? what file name should i give it? and what thing should i type in that file?

 

 

thanks your answer , and sorry for my bad english.

 

Link to comment
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.

 Share

×
×
  • Create New...