summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2014-08-25 12:06:41 +0200
committermakefu <root@pigstarter.de>2014-08-25 12:06:41 +0200
commit95678c00b7463fbc0773b1023763e0da1acdd399 (patch)
treeaf4b03e3b0900d44a7d0d825b5c7051f4ccd7549
parent14a24017308aab6cb96300fce4cdbcbb7acf8b47 (diff)
add conf.krebsco.de
-rw-r--r--sites/conf.krebsco.de/README3
-rw-r--r--sites/conf.krebsco.de/conf.krebsco.de.conf19
2 files changed, 22 insertions, 0 deletions
diff --git a/sites/conf.krebsco.de/README b/sites/conf.krebsco.de/README
new file mode 100644
index 00000000..08d27887
--- /dev/null
+++ b/sites/conf.krebsco.de/README
@@ -0,0 +1,3 @@
+# conf.krebsco.de
+
+will serve files which are created by //ship , redirects to https
diff --git a/sites/conf.krebsco.de/conf.krebsco.de.conf b/sites/conf.krebsco.de/conf.krebsco.de.conf
new file mode 100644
index 00000000..244489bf
--- /dev/null
+++ b/sites/conf.krebsco.de/conf.krebsco.de.conf
@@ -0,0 +1,19 @@
+server {
+ listen 192.40.56.122:80;
+ listen [2604:2880::841f:72c]:80;
+ rewrite ^ https://$server_name$request_uri? permanent;
+ server_name conf.krebsco.de;
+}
+server {
+ listen 192.40.56.122:443 ssl;
+ listen [2604:2880::841f:72c]:443 ssl;
+ ssl_certificate /etc/nginx/ssl/pigstarter.crt;
+ ssl_certificate_key /etc/nginx/ssl/pigstarter.key;
+ server_name conf.krebsco.de;
+ access_log /var/log/nginx/log/conf.krebsco.log main;
+ default_type text/plain;
+ autoindex on;
+ location / {
+ root /var/www/conf.krebsco.de;
+ }
+}