Browse Source

Add example NGINX config vhost

pull/1/head
squeaky otter 5 years ago
parent
commit
92c0f94f90
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 27
      nginx.conf

27
nginx.conf

@ -0,0 +1,27 @@
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/noaa.access.log;
error_log /var/log/nginx/noaa.error.log error;
root /opt/wxsat/web;
index index.html index.htm index.nginx-debian.html;
server_name noaa.lan;
location / {
root /opt/wxsat/web;
}
location /img_noaa {
alias /opt/wxsat/img;
}
location /spectro_noaa {
alias /opt/wxsat/spectro;
}
}
Loading…
Cancel
Save