Welcome! Log In Create A New Profile

Advanced

Newbie learning networking

Posted by nate88 
Newbie learning networking
March 11, 2014 01:53AM
Hello everyone,
I am a graphics artist and I want to build a basic webpage with these three things:
1.) an index.html - with links to the other files
2.) a .jpeg image
3.) a .wav audio file
4.) and a .avi video file
-so my question is:
if I simply put these files inside the primary file folder of Nginx; so then accessing these files from another computer via a web browser should just work out of the box or do i need to adjust the .config folder first?
*note- I'm using Debian and FreeBSD just to perform this experimental task and this is for a personal project- mostly my own educational experience. (to be clear - I'm going to do the exact same thing on two different operating systems. I'm just gonna repeat the process on each O.S. so I'm not looking for anything exotic or complicated past my question)
= Hence, any weblinks that you have to share regarding various tuorials would be much appreciated.
thank you in advance
-cheers-
Fraternally,
Nate,
artist /& open source advocate
(p.s. i hope i posted this in the right place, I'm still learning the geography)
Re: Newbie learning networking
March 15, 2014 06:01PM
Hey this is pretty simple.

I don't know if your nginx is like mine but the default directory for mine is /var/www/nginx/ and you just put your index.html and your other files there. you might want to dig a bit in your sites-availbale/default file and put something that can block the search engines from crawling it. I would go with either password protection as stated here -> http://wiki.nginx.org/HttpAuthBasicModule or ip restriction located here -> http://wiki.nginx.org/HttpAccessModule


Hope this helps.
Also, keep an eye at /var/log/nginx/* and it will tell you if you have any permisison problems. most of the time that is what hinders things webwise to not work.
Re: Newbie learning networking
March 19, 2014 03:19AM
thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 109
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready