from: /listen 80;/
to: |
listen unix:/shared/nginx.http.sock;
+ set_real_ip_from unix:;
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
- from: /listen 443 ssl spdy;/
+ from: /listen 443 ssl http2;/
to: |
- listen unix:/shared/nginx.https.sock ssl spdy;
+ listen unix:/shared/nginx.https.sock ssl http2;
+ set_real_ip_from unix:;