22 lines
515 B
Plaintext
22 lines
515 B
Plaintext
server {
|
|
listen 443;
|
|
server_name <%= vhost %>;
|
|
ssl on;
|
|
include certificates.conf;
|
|
ssl_session_timeout 5m;
|
|
ssl_protocols SSLv2 SSLv3 TLSv1;
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
ssl_prefer_server_ciphers on;
|
|
proxy_http_version 1.1;
|
|
proxy_intercept_errors on;
|
|
error_page 500 502 503 504 =302 @appstatus;
|
|
location @appstatus {
|
|
root ../webadmin;
|
|
try_files /appstatus.html =404;
|
|
}
|
|
location / {
|
|
proxy_pass http://127.0.0.1:<%= port %>;
|
|
}
|
|
}
|
|
|