diff options
| author | erdgeist <erdgeist@bauklotz.local> | 2015-08-16 16:38:25 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@bauklotz.local> | 2015-08-16 16:38:25 +0200 |
| commit | 23f0e1561767dd8a396188e317bae5920d171ea8 (patch) | |
| tree | a67f44e39ad8a45e42d60634488a65c37f3ad432 /files/arts/software/etherpad/nginx-etherpad.conf | |
Initial import of my nikola website
Diffstat (limited to 'files/arts/software/etherpad/nginx-etherpad.conf')
| -rw-r--r-- | files/arts/software/etherpad/nginx-etherpad.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/files/arts/software/etherpad/nginx-etherpad.conf b/files/arts/software/etherpad/nginx-etherpad.conf new file mode 100644 index 0000000..d8f90dd --- /dev/null +++ b/files/arts/software/etherpad/nginx-etherpad.conf | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | server_name pads.domain.tld *.pads.domain.tld; | ||
| 2 | access_log /var/log/www/access.log; | ||
| 3 | error_log /var/log/www/error.log; | ||
| 4 | |||
| 5 | proxy_redirect off; | ||
| 6 | proxy_set_header Host $host; | ||
| 7 | proxy_set_header X-Real-IP $remote_addr; | ||
| 8 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| 9 | client_max_body_size 10m; | ||
| 10 | client_body_buffer_size 128k; | ||
| 11 | proxy_connect_timeout 90; | ||
| 12 | proxy_send_timeout 90; | ||
| 13 | proxy_read_timeout 90; | ||
| 14 | proxy_buffer_size 4k; | ||
| 15 | proxy_buffers 4 32k; | ||
| 16 | proxy_busy_buffers_size 64k; | ||
| 17 | proxy_temp_file_write_size 64k; | ||
| 18 | |||
| 19 | location /sitemap.xml { | ||
| 20 | rewrite /sitemap.xml$ /ep/tag/?format=sitemap permanent; | ||
| 21 | } | ||
| 22 | |||
| 23 | location / { | ||
| 24 | proxy_pass http://pads.domain.tld:9000/; | ||
| 25 | } | ||
