Commit d3bc5f92 authored by Florian Schaal's avatar Florian Schaal
Browse files

ssl for nginx apps-vhos

parent ec9c5478
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 @@ server {
alias /var/lib/mailman/archives/public;
autoindex on;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment