Compare commits

..

1 Commits
CDE6 ... CDE5

Author SHA1 Message Date
e03d02eafd CDE5 2023-09-18 16:50:48 -07:00
5 changed files with 28 additions and 58 deletions

@ -1,8 +0,0 @@
location / {
proxy_hide_header Authorization;
if ($http_Authorization != "Basic asdf") {
return 401;
}
proxy_set_header Authorization "Basic asdf";
proxy_pass http://localhost:3000;
}

@ -1,29 +0,0 @@
location ~* .(3gp|apng|avi|avif|bmp|css|cur|flv|gif|htm|html|ico|jfif|jpeg|jpg|js|mid|mov|mp3|mp4|mpeg|mpg|ogg|pdf|php|pjp|pjpeg|png|svg|tif|tiff|txt|wav|webp|wmf|wml|wmv|xml|xml)$ {
expires 1d;
index index.html index.htm;
# ln -s /etc/nginx/sites-available/json /etc/nginx/sites-enabled/
# ln -s /srv/samba/share/637998119172547651 /var/www/html/637998119172547651
# ln -s /var/www/html/NGINdeX.io /var/www/html/637998119172547651/NGINdeX.io
# ln -s /srv/git /var/www/html/637998119172547651/git
# root /var/www/html/637998119172547651;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
root "D://Tmp//phares//www";
}
location / {
index index.html index.htm;
# root /var/www/html/637998119172547651;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
root "D://Tmp//phares//www";
# First attempt to serve request as file, then
autoindex on;
# Send the data in JSON
autoindex_format json;
addition_types application/json;
# Calling from SERVERNAME/autoindex/*
add_before_body /NGINdeX.io/header.html;
add_after_body /NGINdeX.io/footer.html;
# Need to tell that we are sending HTML
add_header Content-Type text/html;
}

@ -15,15 +15,15 @@ location / {
# root /var/www/html/637998119172547651;
# mklink /J "D:\Tmp\Phares\www\pictures" "D:\Documents\Pictures"
# mklink /J "D:\Tmp\Phares\www\NGINdeX.io" "L:\GitHub\NGINdeX.io"
root "C://4p_W7a";
root "D://Tmp//phares//www";
# First attempt to serve request as file, then
autoindex on;
# Send the data in JSON
autoindex_format json;
# addition_types application/json;
addition_types application/json;
# Calling from SERVERNAME/autoindex/*
# add_before_body /NGINdeX.io/header.html;
# add_after_body /NGINdeX.io/footer.html;
add_before_body /NGINdeX.io/header.html;
add_after_body /NGINdeX.io/footer.html;
# Need to tell that we are sending HTML
# add_header Content-Type text/html;
add_header Content-Type text/html;
}

@ -13,11 +13,11 @@ stateOrProvinceName_default = Arizona
localityName = Locality Name (eg, city)
localityName_default = Mesa
organizationName = Organization Name (eg, company)
organizationName_default = Infineon Technologies Americas Corp.
organizationName_default = localhost
organizationalUnitName = organizationalunit
organizationalUnitName_default = Development
commonName = Common Name (e.g. server FQDN or YOUR name)
commonName_default = example.com
commonName_default = localhost
commonName_max = 64
[req_ext]
@ -27,9 +27,8 @@ subjectAltName = @alt_names
subjectAltName = @alt_names
[alt_names]
DNS.1 = example.com
DNS.2 = localhost
DNS.3 = 127.0.0.1
DNS.1 = localhost
DNS.2 = 127.0.0.1
# https://webscoot.io/blog/create-self-signed-certificate-ubuntu-windows-nginx/
# cd "C:\Program Files\Git\usr\bin"

@ -7,6 +7,24 @@ http {
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name localhost;
ssl_certificate "includes/localhost.crt";
ssl_certificate_key "includes/localhost.key";
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
# include "includes/html.conf";
include "includes/BaGet.conf";
error_page 500 502 503 504 /50x.html;
include "includes/html-error.conf";
}
server {
listen 4430;
server_name iscn5cg1325c0x.infineon.com;
include "includes/BaGet.conf";
}
server {
listen 5051;
server_name localhost;
@ -15,23 +33,13 @@ http {
server {
listen 5052;
server_name localhost;
include "includes/dex.conf";
include "includes/json.conf";
}
server {
listen 5053;
server_name localhost;
include "includes/ProgramData.conf";
}
server {
listen 80;
server_name localhost;
include "includes/json.conf";
}
server {
listen 8011;
server_name localhost;
include "includes/Gogs.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;