fachschaften test

This commit is contained in:
2021-09-26 18:19:52 +00:00
parent 0d3a40f98b
commit 5cafbb1991
5 changed files with 61 additions and 1 deletions

5
README.txt Normal file
View File

@@ -0,0 +1,5 @@
location / {
include proxy.conf;
proxy_buffering off;
proxy_pass http://$proxy_host:$proxy_port;
}

View File

@@ -6,6 +6,20 @@ server {
} }
} }
server {
listen 80;
server_name test.nginx.fet.at;
include auto_ssl.conf;
location / {
return 302 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name test.nginx.fet.at;
include ldap.conf;
include ssl.conf;}
server { server {
listen 443 ssl default_server; listen 443 ssl default_server;
server_name kistl.htu.tuwien.ac.at; server_name kistl.htu.tuwien.ac.at;
@@ -53,4 +67,5 @@ server {
include /etc/nginx/conf.d/fet.at/*.conf; include /etc/nginx/conf.d/fet.at/*.conf;
include /etc/nginx/conf.d/dev/*.conf; include /etc/nginx/conf.d/dev/*.conf;
include /etc/nginx/conf.d/andis/*.at; include /etc/nginx/conf.d/andis/*.at;
include /etc/nginx/conf.d/fachschaften.at/*.at;

View File

@@ -0,0 +1,36 @@
server {
listen 443 ssl ;
server_name dev.fachschaften.at;
include ssl.conf;
include ldap.conf;
set $proxy_host devnginx_theia_1;
set $proxy_port 3000;
include internal_proxy.conf;
}
server {
listen 443 ssl ;
server_name config.fachschaften.at;
include ssl.conf;
include ldap.conf;
set $proxy_host theiaconf;
set $proxy_port 3000;
include internal_proxy.conf;
}
server {
listen 443 ssl;
server_name fet.fachschaften.at;
set $proxy_host fetsite21;
set $proxy_port 8001;
include ssl.conf;
include ldap.conf;
location / {
include proxy.conf;
include secure.conf;
proxy_buffering off;
proxy_pass http://$proxy_host:$proxy_port;
proxy_set_header Host fet.at;
}
}

2
restart Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker restart triton2_openresty_1

2
t Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker exec triton2_openresty_1 /usr/local/openresty/bin/openresty -t