noosfero | Fix Prod Docker (!1673)
Gabriel Silva
gitlab at mg.gitlab.com
Wed Mar 27 14:12:49 BRT 2019
Gabriel Silva commented on a discussion on config/docker/prod/templates/nginx.template:
> + expires max;
> + add_header Cache-Control public;
> +
> + add_header Last-Modified "";
> + add_header ETag "";
> + break;
> + }
> +
> + # send non-static file requests to the app server
> + location / {
> + try_files $uri $uri.html @rails;
> + }
> + location @rails {
> + #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;
Yeah, that is. Just uncomment these lines and the bug is solved.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1673#note_154784083
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20190327/78713413/attachment.html>
More information about the Noosfero-dev
mailing list