Gogs
This commit is contained in:
parent
21a619be32
commit
39e2552173
8
conf/includes/Gogs.conf
Normal file
8
conf/includes/Gogs.conf
Normal 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;
|
||||
}
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user