2 worker_connections 1024;
10 # Upload limit for pictshare
11 client_max_body_size 50M;
14 proxy_pass http://lemmy_alpha:8540;
15 proxy_set_header X-Real-IP $remote_addr;
16 proxy_set_header Host $host;
17 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
20 proxy_http_version 1.1;
21 proxy_set_header Upgrade $http_upgrade;
22 proxy_set_header Connection "upgrade";
25 location /pictshare/ {
26 proxy_pass http://pictshare_alpha:80/;
27 proxy_set_header X-Real-IP $remote_addr;
28 proxy_set_header Host $host;
29 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
33 proxy_pass http://iframely:80/;
34 proxy_set_header X-Real-IP $remote_addr;
35 proxy_set_header Host $host;
36 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
42 server_name 127.0.0.1;
44 # Upload limit for pictshare
45 client_max_body_size 50M;
48 proxy_pass http://lemmy_beta:8550;
49 proxy_set_header X-Real-IP $remote_addr;
50 proxy_set_header Host $host;
51 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
54 proxy_http_version 1.1;
55 proxy_set_header Upgrade $http_upgrade;
56 proxy_set_header Connection "upgrade";
59 location /pictshare/ {
60 proxy_pass http://pictshare_beta:80/;
61 proxy_set_header X-Real-IP $remote_addr;
62 proxy_set_header Host $host;
63 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
67 proxy_pass http://iframely:80/;
68 proxy_set_header X-Real-IP $remote_addr;
69 proxy_set_header Host $host;
70 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;