There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

mcmxci ,

This is the nginx.conf file for my external proxy:


<span style="color:#323232;">server {
</span><span style="color:#323232;">    listen 443 ssl http2;
</span><span style="color:#323232;">    listen [::]:443 ssl http2;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    server_name ;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    include /config/nginx/ssl.conf;
</span><span style="color:#323232;">
</span><span style="color:#323232;">    location / {
</span><span style="color:#323232;">        include /config/nginx/proxy.conf;
</span><span style="color:#323232;">        include /config/nginx/resolver.conf;
</span><span style="color:#323232;">#        set $upstream_app lemmy;
</span><span style="color:#323232;">        set $upstream_app proxy;
</span><span style="color:#323232;">        set $upstream_port 8536;
</span><span style="color:#323232;">        set $upstream_proto http;
</span><span style="color:#323232;">        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
</span><span style="color:#323232;">#        proxy_http_version 1.1;
</span><span style="color:#323232;">        proxy_set_header Upgrade $http_upgrade;
</span><span style="color:#323232;">        proxy_set_header Connection "upgrade";
</span><span style="color:#323232;">        proxy_set_header X-Real-IP $remote_addr;
</span><span style="color:#323232;">#        proxy_set_header Host $host;
</span><span style="color:#323232;">        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
</span><span style="color:#323232;">        client_max_body_size 50M;            
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">access_log /var/log/nginx/access.log combined;
</span><span style="color:#323232;">
</span><span style="color:#323232;">You’ll need to change  to the appropriate value. I’m forwarding requests to the proxy container referenced by the compose file
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines