2 worker_connections 1024;
11 # Upload limit for pictshare
12 client_max_body_size 50M;
15 proxy_pass http://lemmy-alpha:8540;
16 proxy_set_header X-Real-IP $remote_addr;
17 proxy_set_header Host $host;
18 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
20 # Cuts off the trailing slash on URLs to make them valid
21 rewrite ^(.+)/+$ $1 permanent;
24 proxy_http_version 1.1;
25 proxy_set_header Upgrade $http_upgrade;
26 proxy_set_header Connection "upgrade";
31 location /pictrs/image {
32 proxy_pass http://pictrs:8080/image;
33 proxy_set_header X-Real-IP $remote_addr;
34 proxy_set_header Host $host;
35 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
42 proxy_pass http://iframely:80/;
43 proxy_set_header X-Real-IP $remote_addr;
44 proxy_set_header Host $host;
45 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
51 server_name 127.0.0.1;
54 # Upload limit for pictshare
55 client_max_body_size 50M;
58 proxy_pass http://lemmy-beta:8550;
59 proxy_set_header X-Real-IP $remote_addr;
60 proxy_set_header Host $host;
61 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
63 # Cuts off the trailing slash on URLs to make them valid
64 rewrite ^(.+)/+$ $1 permanent;
67 proxy_http_version 1.1;
68 proxy_set_header Upgrade $http_upgrade;
69 proxy_set_header Connection "upgrade";
74 location /pictrs/image {
75 proxy_pass http://pictrs:8080/image;
76 proxy_set_header X-Real-IP $remote_addr;
77 proxy_set_header Host $host;
78 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
85 proxy_pass http://iframely:80/;
86 proxy_set_header X-Real-IP $remote_addr;
87 proxy_set_header Host $host;
88 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
94 server_name 127.0.0.1;
97 # Upload limit for pictshare
98 client_max_body_size 50M;
101 proxy_pass http://lemmy-gamma:8560;
102 proxy_set_header X-Real-IP $remote_addr;
103 proxy_set_header Host $host;
104 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
106 # Cuts off the trailing slash on URLs to make them valid
107 rewrite ^(.+)/+$ $1 permanent;
110 proxy_http_version 1.1;
111 proxy_set_header Upgrade $http_upgrade;
112 proxy_set_header Connection "upgrade";
117 location /pictrs/image {
118 proxy_pass http://pictrs:8080/image;
119 proxy_set_header X-Real-IP $remote_addr;
120 proxy_set_header Host $host;
121 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
127 location /iframely/ {
128 proxy_pass http://iframely:80/;
129 proxy_set_header X-Real-IP $remote_addr;
130 proxy_set_header Host $host;
131 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;