Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Noob Needs some assistance

$
0
0
First off, I'm a total noobie to NGINX. And even worse, I'm a Windows guy. So I'll apologize in advance.

But I have a simple NGINX install on a Windows PC running at home. All I'm currently running it for is a HTTPS proxy server for my Icecast Server. Long story short, it was much easier for me to get some certs setup for my existing broadcast by running the traffic through NGNIX. And it has been working well.

What I would like to do is add a folder I can browse locally on the Windows PC, via HTTPS. I tried and failed at adding a new server item. I'm not sure if I don't have my original setup correctly, or if it's the setup of the new one that is an issue.

This is my config for the HTTPS server currently.

server {
listen 443 ssl;
server_name broadcast.bismarckweather.net;

ssl_certificate cert.crt;
ssl_certificate_key private.crt;

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;

ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

location / {
proxy_pass http://192.168.1.106:8000/;
root html;
index index.html index.htm;
}

This is what I was trying to add. I have 2 DNS host names pointing to my router. I was hoping the server name would split that out. But I have a local folder in NGINX named IPTL I was hoping to be able to browse to.

server {
listen 443 ssl;
server_name iptl.bismarckweather.net;


ssl_certificate cert.crt;
ssl_certificate_key private.crt;

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;

ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

location /iptl {
root iptl;
index index.html index.htm;
autoindex on;
}
}

So what am I missing, besides a lot of knowledge? Thanks....

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>