nginx: recompile with SSL module, move directives
This commit is contained in:
parent
b2d2fbe18f
commit
3166c9a38f
4 changed files with 11 additions and 11 deletions
|
@ -26,18 +26,19 @@ http {
|
|||
|
||||
# This header must be set only for HTTPS
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload";
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
include proxy-protocol.conf;
|
||||
include server-base.conf;
|
||||
|
||||
listen 8443 default proxy_protocol;
|
||||
|
||||
ssl on;
|
||||
|
||||
# This header must be set only for HTTPS
|
||||
add_header Strict-Transport-Security "max-age=63072000; preload";
|
||||
|
||||
real_ip_header proxy_protocol;
|
||||
|
||||
access_log /dev/stdout lb_pp;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue