Florian Schaal
2015-11-06 d3bc5f92aa8e6d4dc2a4cbda119312ed2fc47543
ssl for nginx apps-vhos
1 files modified
9 ■■■■ changed files
install/tpl/nginx_apps.vhost.master 9 ●●●● patch | view | raw | blame | history
install/tpl/nginx_apps.vhost.master
@@ -1,5 +1,12 @@
server {
        listen {apps_vhost_ip}{apps_vhost_port};
        ssl {ssl_on};
        {ssl_comment}ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        {ssl_comment}ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt;
        {ssl_comment}ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key;
        # redirect to https if accessed with http
        {ssl_comment}error_page 497 https://$host:{vhost_port}$request_uri;
        server_name {apps_vhost_servername};
@@ -199,4 +206,4 @@
               alias /var/lib/mailman/archives/public;
               autoindex on;
        }
}
}