aboutsummaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/arch.conf15
-rw-r--r--nginx/arch_ssl.conf24
-rw-r--r--nginx/aurbuilder.conf8
3 files changed, 8 insertions, 39 deletions
diff --git a/nginx/arch.conf b/nginx/arch.conf
deleted file mode 100644
index c66ad85..0000000
--- a/nginx/arch.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-# vi: ft=nginx
-
-server {
- listen 80;
- #server_name localhost;
-
- location / {
- root /srv/arch/;
-
- autoindex on;
- autoindex_exact_size off;
- autoindex_format html;
- autoindex_localtime on;
- }
-}
diff --git a/nginx/arch_ssl.conf b/nginx/arch_ssl.conf
deleted file mode 100644
index 40ec2b7..0000000
--- a/nginx/arch_ssl.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-# vi: ft=nginx
-
-server {
- listen 443 ssl;
- #server_name localhost;
-
- ssl_certificate cert.pem;
- ssl_certificate_key cert.key;
-
- ssl_session_cache shared:SSL:1m;
- ssl_session_timeout 5m;
-
- ssl_ciphers HIGH:!aNULL:!MD5;
- ssl_prefer_server_ciphers on;
-
- location / {
- root /srv/arch/;
-
- autoindex on;
- autoindex_exact_size off;
- autoindex_format html;
- autoindex_localtime on;
- }
-}
diff --git a/nginx/aurbuilder.conf b/nginx/aurbuilder.conf
new file mode 100644
index 0000000..601318a
--- /dev/null
+++ b/nginx/aurbuilder.conf
@@ -0,0 +1,8 @@
+# vi: ft=nginx
+
+root /srv/pkg;
+
+autoindex on;
+autoindex_exact_size off;
+autoindex_format html;
+autoindex_localtime on;