summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/https.rainrain.xyz.servconf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/webservers/files/levi/https.rainrain.xyz.servconf')
-rw-r--r--roles/webservers/files/levi/https.rainrain.xyz.servconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/webservers/files/levi/https.rainrain.xyz.servconf b/roles/webservers/files/levi/https.rainrain.xyz.servconf
index 3b9dc5c..42b2535 100644
--- a/roles/webservers/files/levi/https.rainrain.xyz.servconf
+++ b/roles/webservers/files/levi/https.rainrain.xyz.servconf
@@ -1,8 +1,7 @@
stream {
map $ssl_preread_server_name $name {
hostnames;
- .rainrain.xyz rainrainxyz;
- default proxy;
+ .rainrain.xyz rainrainxyz; default proxy;
}
upstream rainrainxyz {
@@ -15,6 +14,7 @@ stream {
server {
listen 443;
proxy_pass $name;
+ proxy_protocol on;
ssl_preread on;
}
}