diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-24 14:38:43 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-24 14:38:43 +0200 |
commit | 8f432e1b1d42d1a45597c32256af9b611b422000 (patch) | |
tree | 0c2851b8851dbb7b0d306a51480fde6eb58eb725 /nginx | |
parent | f7757c1925b017b437de5b0e65cff309a4b857c9 (diff) | |
download | aurbuilder-8f432e1b1d42d1a45597c32256af9b611b422000.tar.gz |
move container files to subfolder, add nginx conf
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/arch.conf | 15 | ||||
-rw-r--r-- | nginx/arch_ssl.conf | 24 | ||||
-rw-r--r-- | nginx/aurbuilder.conf | 8 |
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; |