blob: d8f90ddb168e9acbd2c90e13f9dc967e8151e213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
server_name pads.domain.tld *.pads.domain.tld;
access_log /var/log/www/access.log;
error_log /var/log/www/error.log;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
location /sitemap.xml {
rewrite /sitemap.xml$ /ep/tag/?format=sitemap permanent;
}
location / {
proxy_pass http://pads.domain.tld:9000/;
}
|