aboutsummaryrefslogtreecommitdiffstats
path: root/web/etc
diff options
context:
space:
mode:
Diffstat (limited to 'web/etc')
-rw-r--r--web/etc/apache2/nms-public.tg13.gathering.org11
-rw-r--r--web/etc/apache2/nms.tg13.gathering.org39
-rw-r--r--web/etc/apache2/stream.tg13.gathering.org25
-rw-r--r--web/etc/apache2/tech.tg13.gathering.org12
-rw-r--r--web/etc/cron/update-public-nms3
5 files changed, 90 insertions, 0 deletions
diff --git a/web/etc/apache2/nms-public.tg13.gathering.org b/web/etc/apache2/nms-public.tg13.gathering.org
new file mode 100644
index 0000000..2c6115a
--- /dev/null
+++ b/web/etc/apache2/nms-public.tg13.gathering.org
@@ -0,0 +1,11 @@
+<VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName nms-public.tg13.gathering.org
+
+ DocumentRoot /srv/www/nms-public.tg13.gathering.org
+ AddHandler cgi-script .cgi .sh .pl .py
+
+ LogLevel warn
+ ErrorLog /var/log/apache2/error-nms-public.tg13.gathering.org.log
+ CustomLog /var/log/apache2/access-nms-public.tg13.gathering.org.log combined
+</VirtualHost>
diff --git a/web/etc/apache2/nms.tg13.gathering.org b/web/etc/apache2/nms.tg13.gathering.org
new file mode 100644
index 0000000..cb81598
--- /dev/null
+++ b/web/etc/apache2/nms.tg13.gathering.org
@@ -0,0 +1,39 @@
+<VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName nms.tg13.gathering.org
+ ServerAlias flexus.tg13.gathering.org
+
+ DocumentRoot /root/tgmanage/web/nms.gathering.org
+ <Directory "/root/tgmanage/web/nms.gathering.org">
+ AllowOverride None
+ Options Indexes FollowSymLinks ExecCGI MultiViews
+ Order allow,deny
+ Satisfy any
+ Allow from ::1
+ Allow from 127.0.0.1
+ Allow from 151.216.125.0/24
+ Allow from 151.216.124.0/24
+ Allow from 2a02:ed02:124::/64
+ Allow from 2a02:ed02:125::/64
+
+ AddHandler cgi-script .cgi .sh .pl .py
+ AddDefaultCharset UTF-8
+
+ AuthUserFile /root/tgmanage/web/.htpasswd
+ AuthGroupFile /dev/null
+ AuthName "Tech:Server Secret Volcano Lair"
+ AuthType Basic
+
+ require valid-user
+ </Directory>
+
+ ErrorLog /var/log/apache2/error-nms.tg13.gathering.org.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog /var/log/apache2/access-nms.tg13.gathering.org.log combined
+ ServerSignature On
+
+</VirtualHost>
diff --git a/web/etc/apache2/stream.tg13.gathering.org b/web/etc/apache2/stream.tg13.gathering.org
new file mode 100644
index 0000000..b184b1c
--- /dev/null
+++ b/web/etc/apache2/stream.tg13.gathering.org
@@ -0,0 +1,25 @@
+ <VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName stream.tg13.gathering.org
+ ServerAlias krosus.tg13.gathering.org
+
+ DocumentRoot /srv/stream.tg13.gathering.org
+ <Directory "/srv/stream.tg13.gathering.org/">
+ AllowOverride None
+ Options Indexes FollowSymLinks ExecCGI MultiViews
+ Order allow,deny
+ Allow from all
+ AddHandler cgi-script .cgi .sh .pl .py
+ AddDefaultCharset UTF-8
+
+ </Directory>
+
+ ErrorLog /var/log/apache2/error-stream.tg13.gathering.org.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel info
+
+ CustomLog /var/log/apache2/access-stream.tg13.gathering.org.log combined
+ ServerSignature On
+</VirtualHost>
diff --git a/web/etc/apache2/tech.tg13.gathering.org b/web/etc/apache2/tech.tg13.gathering.org
new file mode 100644
index 0000000..7ab303b
--- /dev/null
+++ b/web/etc/apache2/tech.tg13.gathering.org
@@ -0,0 +1,12 @@
+<VirtualHost *:80>
+ ServerAdmin drift@gathering.org
+ ServerName tech.tg13.gathering.org
+
+ DocumentRoot /srv/www/tech.tg13.gathering.org
+
+ LogLevel warn
+ ErrorLog /var/log/apache2/error-tech.tg13.gathering.org.log
+ CustomLog /var/log/apache2/access-tech.tg13.gathering.org.log combined
+
+ AddHandler cgi-script .pl
+</VirtualHost>
diff --git a/web/etc/cron/update-public-nms b/web/etc/cron/update-public-nms
new file mode 100644
index 0000000..3018042
--- /dev/null
+++ b/web/etc/cron/update-public-nms
@@ -0,0 +1,3 @@
+# Update public nms
+
+* * * * * root /root/tgmanage/clients/update-public-nms.sh