diff options
author | Devaev Maxim <[email protected]> | 2018-08-09 04:06:44 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-09 04:06:44 +0300 |
commit | e3f5d1e4d60a7e56c4113b00101aae95881db464 (patch) | |
tree | 49a3a27ab897f6864d04f329546a3dbe77e2a4e3 /kvmd/testenv | |
parent | f71788bb35b810ff79d321e5914edcf554e00c60 (diff) |
using https with self-signed cert
Diffstat (limited to 'kvmd/testenv')
-rw-r--r-- | kvmd/testenv/nginx.conf | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/kvmd/testenv/nginx.conf b/kvmd/testenv/nginx.conf index c9322517..ed6698cf 100644 --- a/kvmd/testenv/nginx.conf +++ b/kvmd/testenv/nginx.conf @@ -10,13 +10,20 @@ events { } http { + access_log off; + include /etc/nginx/mime.types; default_type application/octet-stream; charset utf-8; sendfile on; keepalive_timeout 10; - # gzip on; + + client_body_temp_path /tmp/nginx.client_body_temp; + fastcgi_temp_path /tmp/nginx.fastcgi_temp; + proxy_temp_path /tmp/nginx.proxy_temp; + scgi_temp_path /tmp/nginx.scgi_temp; + uwsgi_temp_path /tmp/nginx.uwsgi_temp; upstream kvmd { server localhost:8081 fail_timeout=0s max_fails=0; @@ -27,18 +34,9 @@ http { } server { - # access_log /tmp/nginx.access.log; - access_log off; - listen 8080; server_name localhost; - client_body_temp_path /tmp/nginx.client_body_temp; - fastcgi_temp_path /tmp/nginx.fastcgi_temp; - proxy_temp_path /tmp/nginx.proxy_temp; - scgi_temp_path /tmp/nginx.scgi_temp; - uwsgi_temp_path /tmp/nginx.uwsgi_temp; - location / { root /web; index index.html; |