summaryrefslogtreecommitdiff
path: root/etc/nginx-sites-enabled/buildbot-ssl
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-01 18:20:31 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-03-01 18:20:31 +0100
commit5aee8b30d0d509e56e78d777d2820e95abec08ca (patch)
tree9c3b47f3cef937e6c7a16a747d5c8de4521e6bb5 /etc/nginx-sites-enabled/buildbot-ssl
parent223ecf4a2bab3453b0136e43a3547b0de1d06585 (diff)
downloaddeployment-5aee8b30d0d509e56e78d777d2820e95abec08ca.tar.gz
deployment-5aee8b30d0d509e56e78d777d2820e95abec08ca.tar.bz2
deployment-5aee8b30d0d509e56e78d777d2820e95abec08ca.zip
nginx config files
Diffstat (limited to 'etc/nginx-sites-enabled/buildbot-ssl')
-rw-r--r--etc/nginx-sites-enabled/buildbot-ssl25
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/nginx-sites-enabled/buildbot-ssl b/etc/nginx-sites-enabled/buildbot-ssl
new file mode 100644
index 0000000..cbbef7b
--- /dev/null
+++ b/etc/nginx-sites-enabled/buildbot-ssl
@@ -0,0 +1,25 @@
+server {
+ listen 443 ssl; ## listen for ipv4; this line is default and implied
+ # listen [::]:80 default_server ipv6only=on; ## listen for ipv6
+
+ root /var/www/buildbot/;
+
+ # Make site accessible from http://localhost/
+ server_name buildbot.taler.net;
+ server_name www.buildbot.taler.net;
+ ssl_certificate /etc/letsencrypt/live/taler.net/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/taler.net/privkey.pem;
+ ssl_prefer_server_ciphers on;
+ ssl_session_cache shared:SSL:10m;
+ ssl_dhparam /etc/ssl/certs/dhparam.pem;
+ ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
+ ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
+
+ add_header Strict-Transport-Security "max-age=63072000; preload";
+
+ location / {
+ proxy_pass http://localhost:1802;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ }
+}