summaryrefslogtreecommitdiff
path: root/roles/webservers/files/levi/https.rainrain.xyz.servconf
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-17 23:57:35 -0400
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-10-18 00:19:15 -0400
commit77f69fc2278cbc621b841a2db5eeb192245697cc (patch)
tree90afa1d8f9861791625b77d9dda56a2aef56ce57 /roles/webservers/files/levi/https.rainrain.xyz.servconf
parentb8a9edb9740ceaebefd76b27cc17a2e07e01e8a5 (diff)
downloadoldinfra-77f69fc2278cbc621b841a2db5eeb192245697cc.tar.gz
oldinfra-77f69fc2278cbc621b841a2db5eeb192245697cc.zip
fix proto tcp failure
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;
}
}