Explorar o código

[SSL] re-add nginx site.conf

Marcel Hofer %!s(int64=6) %!d(string=hai) anos
pai
achega
84c5f43438
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      data/conf/nginx/site.conf

+ 10 - 0
data/conf/nginx/site.conf

@@ -0,0 +1,10 @@
+server_tokens off;
+proxy_cache_path /tmp levels=1:2 keys_zone=sogo:10m inactive=24h  max_size=1g;
+server_names_hash_bucket_size 64;
+
+map $http_x_forwarded_proto $client_req_scheme {
+     default $scheme;
+     https https;
+}
+
+include /etc/nginx/conf.d/sites.active;