This commit is contained in:
Mike Phares 2022-11-28 17:32:45 -07:00
parent 21a619be32
commit 39e2552173
2 changed files with 13 additions and 0 deletions

8
conf/includes/Gogs.conf Normal file
View File

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

View File

@ -40,6 +40,11 @@ http {
server_name localhost;
include "includes/ProgramData.conf";
}
server {
listen 8011;
server_name localhost;
include "includes/Gogs.conf";
}
server {
listen 8080;
server_name ~(oi-metrology-viewer-archive).mes.infineon.com;