initial commit

This commit is contained in:
root
2017-07-23 09:58:08 +02:00
commit 83354160ea
19 changed files with 913 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
# -*-nginx-*-
# Beschreibung: Dies ist ein fallback falls kein sonstiger Server gewaehlt wurde. Im geschuetzten Bereich befinden sich Infos zur Konfiguration!
server {
listen 80;
server_name triton.fet.at www.triton.fet.at triton.local;
root /srv/welcome;
location /.well-known {
allow all;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name triton.fet.at www.triton.fet.at triton.local;
ssl_certificate /etc/letsencrypt/live/triton.fet.at/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/triton.fet.at/privkey.pem;
auth_ldap "FET Login - TT";
auth_ldap_servers fet;
root /srv/welcome;
location /.well-known {
allow all;
}
location / {
ssi on;
index index.html;
}
location /conf {
rewrite ^/conf/(.*)$ /$1 break;
proxy_pass http://localhost:8080;
}
location /doc {
return 301 https://intern.triton.fet.at$request_uri;
# include uwsgi_params;
# uwsgi_pass unix:/srv/run/intern.sock;
# sub_filter triton.fet.at/ triton.fet.at/doc/;
# rewrite ^/doc/(.*)$ /$1 break;
# proxy_pass http://localhost:8081;
}
}