Commit ac480ef8 authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

update nginx conf for http

parent 05421d65
......@@ -6,6 +6,9 @@ server {
listen 80;
server_name SERVERNAME_FIXME www.SERVERNAME_FIXME;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-FORWARDED-PROTO http;
access_log /var/log/diaspora/access.log;
error_log /var/log/diaspora/error.log;
......@@ -30,7 +33,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Proto http;
proxy_redirect off;
client_max_body_size 4M;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment