This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/conf/nginx.conf

45 lines
1.2 KiB
Nginx Configuration File
Raw Normal View History

2015-01-13 20:19:42 +00:00
# vim: ft=nginx
include root-base.conf;
http {
include http-base.conf;
include hosted-http-base.conf;
2015-01-13 20:19:42 +00:00
include rate-limiting.conf;
server {
include server-base.conf;
add_header Strict-Transport-Security "max-age=63072000; preload";
listen 443 default;
ssl on;
ssl_certificate ./stack/ssl.cert;
ssl_certificate_key ./stack/ssl.key;
2015-05-20 20:32:12 +00:00
ssl_stapling on;
ssl_stapling_verify on;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
}
server {
2015-01-22 21:10:02 +00:00
include proxy-protocol.conf;
2015-02-19 21:24:05 +00:00
include server-base.conf;
add_header Strict-Transport-Security "max-age=63072000; preload";
listen 8443 default proxy_protocol;
ssl on;
ssl_certificate ./stack/ssl.cert;
ssl_certificate_key ./stack/ssl.key;
2015-05-20 20:32:12 +00:00
ssl_stapling on;
ssl_stapling_verify on;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
}
}